No, this is a Baseevent.
See in Docs it should return what he wants.
I think he just is not getting killed by smth. other than some vehicles because that explains the result.
AddEventHandler("gameEventTriggered", function(name, args)
if not (name == "CEventNetworkEntityDamage") then return end
-- Check if victim is dead
if not (args[4] == 1) then return end
local victimId = GetPlayerServerId(NetworkGetPlayerIndexFromPed(args[1]))
local killerId = GetPlayerServerId(NetworkGetPlayerIndexFromPed(args[2]))
end)
This function will return if the victim is not dead. To get the victim and killer you need to use args[1] for the victim and args[2] for the killer. args[4] will return 1 or 0 depending if the attack is fatal or not.
For the full list of args you can check this image