View Full Version : [SOLVED] Ghostcrawlers VIP Area Only Script

01-16-2014, 08:27 PM
Apparently when I go to the area 2317 (South Shores in Tanaris) I get the message that I am not allowed to be here because I am not a vip, but I do not get teleported out. There must be something to update in here for that to work, but I have no idea. So I'm going to ask here! Ty

- Developer(s): Ghostcrawler336
- Complete: 100%
- ScriptName: 'VIP only area'
- Comment: Tested & Working.

class Vip_Access: public PlayerScript
Vip_Access() : PlayerScript("Vip_Access") {}

void OnUpdateZone(Player* player, uint32 /*newZone*/, uint32 newArea)
if (newArea == 1519 && player->GetSession()->GetSecurity() == SEC_PLAYER)
player->TeleportTo(517, 3981.08f, -3764.08f, 152.08f, 5.08f);
ChatHandler(player->GetSession()).SendSysMessage("|cffff6060[Information]:|r You are not allowed to be here, you aren't a VIP!|r!");

void AddSC_Vip_Access()
new Vip_Access();


01-16-2014, 08:50 PM
Because the mapId 517 doesn't exist. Did you mean to put 571?

01-16-2014, 09:26 PM
Wowwwww I'm a complete idiot. Lol Thanks man.