05-24-2017, 03:35 PM
(05-24-2017, 02:45 AM)Seadragon91 Wrote:Code:function MyOnKilled(Victim, TDI, DeathMessage)
if Victim:IsPlayer() then
LOG(Victim:GetName() .. " has been killed, printed by hook.")
end
end
Check if it's a player then call the functions you want.
Hi,
i need a function for return the player object to do later setLastBedPos()