19.09.2011, 13:04
How do I repair my vehicle with "T"Button?.
so that when i press "T" my vehicle will be repaired
Sorry I'm beginner
so that when i press "T" my vehicle will be repaired
Код:
if(strcmp("/repair", cmdtext, true) == 0)
{
new vehicleid = GetPlayerVehicleID(playerid);
SetVehicleHealth(vehicleid, 1000.0);
SendClientMessage(playerid, COLOUR_WHITE, "Vehicle has been repaired.");
return 1;
}

