04.05.2011, 15:05
pawn Код:
public OnPlayerUpdate(playerid)
{
if(IsPlayerInVehicle(GetPlayerVehicleID(playerid)) == 427 && GeVehicleHealth(GetPlayerVehicleID(playerid)) < 1000) return RepairVehicle(GetPlayerVehicleID(playerid)), SetHeicleHealth(GetPlayerVehicleID(playerid),100);
return 1;
}