09.05.2012, 14:06
Make a variable and add it to a command ex:
This is just an example.
Код:
new Variable[MAX_PLAYERS];
Код:
if (strcmp("/cmd", cmdtext, true, 10) == 0) { if(Variable[playerid] == 3) { SendClientMessage(playerid, -1, "You can use this command just 3 times"); } //do something Variable[playerid] += 1; }