13.05.2016, 13:24
ok so I want to make National guards TANK and all armored vehicles have more health , as I tried this OnVehicleSpawn but its not working, tank is still 1000 HP not 10000 and others too are on 1000
Am I doing it wrong? please tell me how
Код:
public OnVehicleSpawn(vehicleid) if(GetVehicleModel(vehicleid) == 520 || GetVehicleModel(vehicleid) == 425) // SANG aircrafts { SetVehicleHealth(vehicleid, 2500); // Set the vehicle health } if(GetVehicleModel(vehicleid) == 528 || GetVehicleModel(vehicleid) == 427) // FBI armored truck { SetVehicleHealth(vehicleid, 5000); // Set the vehicle health } if(GetVehicleModel(vehicleid) == 432) // NG tank { SetVehicleHealth(vehicleid, 10000); // Set the vehicle health }