Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- this is supposed to check if a player is in a guild when they enter
- -- instance Gruul's lair
- -- if they are not in a guild then they will get teleported back outside
- -- the instance.
- function Gruulguildcheck(event, plr)
- if (plr:GetMapId()==565) and (plr:IsInGuild()~=true) then
- plr:SendBroadcastMessage("you must be in a guild to enter these catacombs.")
- plr:SendBroadcastMessage("I command you to leave.")
- plr:MovePlayerTo(60, 30, -3, 4.2, 4096)
- end
- end
- RegisterServerHook(4, "Gruulguildcheck")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement