17.04.2009, 17:49
here it is
Код:
if(strcmp(cmdtext, "/fixVeh", true) == 0) { if(GetPlayerState(playerid) == 2) { SetVehicleHealth(vehicleidx, 1000); SendClientMessage(playerid,0xFFFF00AA, "Vehicle Fixed!."); } else return SendClientMessage(playerid,0xFFFF00AA, "You're not in a vehicle!."); return 1; }