update some stock res

This commit is contained in:
moscovium
2017-06-11 13:49:12 +02:00
parent f6ab9bdcbc
commit fb15ebd508
4 changed files with 21 additions and 2 deletions

View File

@@ -38,7 +38,7 @@ Citizen.CreateThread(function()
else killerid = -1
end
if killer == ped then
if killer == ped or killer == -1 then
TriggerEvent('baseevents:onPlayerDied', killertype, { table.unpack(GetEntityCoords(ped)) })
TriggerServerEvent('baseevents:onPlayerDied', killertype, { table.unpack(GetEntityCoords(ped)) })
hasBeenDead = true