Player:SetPosition() with SpawnHook in other World
#8
(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()
Reply
Thanks given by:


Messages In This Thread
RE: Player:SetPosition() with SpawnHook in other World - by moiko89 - 05-24-2017, 03:35 PM



Users browsing this thread: 1 Guest(s)