13.06.2012, 18:49
Well, my first question is, how do I make it check if I have a cretin number variable for example
Okay, I'm not sure if that's right or not, but is there a way to check if you have a certain amount? For example.
That's something that I just made real quick, if someone could help me or correct me, that would be appreciated.
Код:
Crack[playerid] = 0;
Код:
COMMAND:usecrack(playerid, params[]) { if/*the number not being equal to one*/ SendClientMessage(playerid,COLOR_WHITE, "You don't have any crack!"); else { SetPlayerHealth(playerid,100); return 1; }