01.04.2016, 20:38
Код:
CMD:fixveh(playerid, params[]) { if(IsPlayerInAnyVehicle(playerid)) { new vehicleid = GetPlayerVehicleID(playerid); RepairVehicle(vehicleid); SendClientMessage(playerid, GREY, "You fixed your car!"); } else { SendClientMessage(playerid, GREY, "You have to be in a car to use this command!"); } } return 1; }