Access problem
#3

pawn Код:
if(PlayerInfo[playerid][pAdmin] && PlayerInfo[playerid][pVip]) return SendClientMessage(playerid,COL_RED,"This command is only for administrators or VIP's!");
You just made the command check if the player is an admin/vip and then deny their access if the return is positive, you should do the opposite.
pawn Код:
if(!PlayerInfo[playerid][pAdmin] && !PlayerInfo[playerid][pVip]) return SendClientMessage(playerid,COL_RED,"This command is only for administrators or VIP's!");
Reply


Messages In This Thread
Access problem - by Dziugsas - 21.06.2014, 10:32
Re: Access problem - by Konstantinos - 21.06.2014, 10:34
Re: Access problem - by Cena44 - 21.06.2014, 11:25

Forum Jump:


Users browsing this thread: 1 Guest(s)