22.08.2009, 14:43
Код:
new artilerytime[MAX_PLAYERS];
Код:
if(strcmp(cmd, "/fire", true) == 0) { new tmp[32] = "0"; while(strlen(tmp)) { tmp = strtok(cmdtext, idx); if(strlen(tmp) > 0) { if(artilerytime[playerid] == 1) { artilerytime[playerid] = 1; FireStationaryArtillery(strval(tmp)); SetTimer("artilerytime2", 60000, 1); } SendClientMessage(playerid, COLOR_BLUE,"You already shot artilery wait untill it reloads "); return 1; } } return 1; }
Код:
artilerytime[playerid] = 1;
How can i do that?
Код:
SendClientMessage(playerid, COLOR_BLUE,"Your team already shot artilery wait untill it reloads ");