Quote:
Originally Posted by the_chaoz
usa un array. algo asi:
pawn Код:
new Usado[MAX_PLAYERS];
public OnPlayerConnect(playerid) { Usado[playerid] = 0; return 1; }
public OnPlayerCommandText(playerid, cmdtext[]) { if(strcmp(cmdtext, "/micomando", true) == 0){ if(Usado[playerid] == 0){ //codigo del comando return Usado[playerid]++; } else return SendClientMessage(playerid, color, "mensaje"); } return 0; }
espero que te sirva
|
Gracias the_chaoz a mi me sirvio n_n
larga vida