Quote:
Originally Posted by xir
pawn Код:
CMD:autorepair(playerid, params[]) { if(autorepair[playerid] == 0) { autorepair[playerid] = 1; SendClientMessage(playerid, COLOR_GREEN, "( ! ) You turned on autorepair.");
} if(autorepair[playerid] == 1) { autorepair[playerid] = 0; SendClientMessage(playerid, COLOR_GREEN, "( ! ) You turned off autorepair."); } return 1; }
|
if you do like that it wont work at all. It is not because of the command it has something with the public place to do.