Why am I not receiving a message once I die?

AddEventHandler("baseevents:onPlayerDied", function(killerID)
    TriggerEvent('chat:addMessage', {args = {"Lmao"}})
end)

Why am I not receiving a chat message once I die?

Do you have baseevents enabled in server.cfg?

I don’t know. I copied the server.cfg directly from the wiki and never took a look at it again.
I couldn’t find nothing related to baseevents. How do I enable it?

Add ensure baseevents inside server.cfg.

Thanks! It worked!