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