So im trying to teleport someone back to tanaris when they leave tanaris, this script seems fine?
though it says "attempt to index global 'player'". Pleas can anyone help me?
Code:function GetNewZone(event, Player, ZoneId, OldZoneId) if ( Zoneid ~= 440 ) then player:KickPlayer(0) player:Teleport(1, -11660.05, -4719.92, 60.52, 4.32) end end RegisterServerHook(15, "GetNewZone")