05-24-2017, 02:45 AM
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.