24.07.2012, 13:17
Quote:
God, are you retarded? Two people have already said that you need to input your own variable where it says "//change this"!
pawn Код:
|
Код:
if (strcmp("/vheal", cmdtext, true, 5) == 0) { if(pInfo[playerid][Vip]) //change this { SetPlayerHealth(playerid, 100); SendClientMessage(playerid, white, "You Have Been Healed !"); } else { SendClientMessage(playerid,COLOR_RED,"You are not VIP to use this command"); } return 1; }
Код:
enum pInfo { Logged, Password, AdminLevel, Vip, Cash, Score, Ip[20], IsBanned }