12.03.2011, 16:10
It would be nice if you post the warnings / errors.
And here's a better 'IsAVip':
You can use it like this:
IsAVip(playerid); - Just check if he's at least VIP level 1 (so if he's a VIP)
But you can also check his level then:
IsAVip(playerid, 2); - With that, it'll only work for people with VIP level 2 and higher
And here's a better 'IsAVip':
pawn Код:
stock IsAVip(playerid, reqlevel = 1)
PlayerInfo[playerid][pDonateRank] >= reqlevel ? true : false;
IsAVip(playerid); - Just check if he's at least VIP level 1 (so if he's a VIP)
But you can also check his level then:
IsAVip(playerid, 2); - With that, it'll only work for people with VIP level 2 and higher