Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[--------------
- Made by miko2109
- -----------------]]
- --- if u want only Alliance to use this Object just leave
- --- if race == 1 or race == 3 or race == 4 or race == 7 or race == 11 then
- --- if u want only Horde to use this Object just leave
- --- if race == 2 or race == 5 or race == 6 or race == 7 or race == 10 then
- --- Both
- --- if race == 2 or race == 5 or race == 6 or race == 7 or race == 10 or race == 1 or race == 3 or race == 4 or race == 7 or race == 11 then
- function OBteleport(pGO, event, player)
- local Name = player:GetName()
- local race = player:GetPlayerRace()
- if race == 2 or race == 5 or race == 6 or race == 7 or race == 10 or race == 1 or race == 3 or race == 4 or race == 7 or race == 11 then
- player:Teleport(1, -11853.326172, -4845.281250, 41.102104) --- change this to wanted location (.gps)
- player:SendAreaTriggerMessage(""..Name.." You Have Been Teleported To bla bla :)") --- Change it in what u wish just leave "..Name.."
- else
- pGO:Activate()
- player:SendAreaTriggerMessage(""..Name.." You are not Horde/Alliance bla bla :)") --- Change it in what u wish just leave "..Name.."
- end
- end
- RegisterGameObjectEvent(999999, 4, "OBteleport")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement