14.08.2010, 09:24
Code:
//on the top of your script new command[MAX_PLAYERS]; //on OnPlayerCommandText if (!strcmp("/repair", cmdtext)) { { if(command[playerid] == 0) { RepairVehicle(GetPlayerVehicleID(playerid)); SendClientMessage(playerid, 0xFFFFFFFF, "You repaired your vehicle"); command[playerid] = 1; } if(command[playerid] == 1) { SendClientMessage(playerid,0xF5260FFF,"You already uses this command in this round"); } }