Heya ppl, I was wonering if somone could help me a little, Im trying to make some parts of the telenpc VIP only like VIP Tools and NonVIP tools so i need somthing like
Code:
if (pPlayer->GetAccountlevel() == 4)
{
pPlayer->ADD_GOSSIP_ITEM( 7, "VIPTools" GOSSIP_SENDER_MAIN, 5210);
}
else
{
pPlayer->ADD_GOSSIP_ITEM( 7, "NonVIP Tools" GOSSIP_SENDER_MAIN, 2500);
}
Ok thats a little messy but its an example, if (pPlayer->GetAccountlevel() == 4) and that isnt right i need the right command if somone can help, its a little confusing ive been looking for some while so if anyone can help be recodnice the account level before the npc opens it will be much appreciated Thankyou!!
Caskast 
Ok Never mind i found it if anyone was wondering it was
Code:
if(pPlayer->GetSession()->GetSecurity() == "Number of security level for vip/GM)
Hope this helps somone Bai!!