SetVehicleHealth help !!
#1

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

Код:
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
	}
Am I doing it wrong? please tell me how
Reply


Messages In This Thread
SetVehicleHealth help !! - by D3vin - 13.05.2016, 13:24
Re: SetVehicleHealth help !! - by Nin9r - 13.05.2016, 13:30
Re: SetVehicleHealth help !! - by Konstantinos - 13.05.2016, 13:31
Re: SetVehicleHealth help !! - by F1N4L - 13.05.2016, 13:32
Re: SetVehicleHealth help !! - by D3vin - 13.05.2016, 13:43
Re: SetVehicleHealth help !! - by D3vin - 13.05.2016, 15:33
Re: SetVehicleHealth help !! - by D3vin - 13.05.2016, 15:49
Re: SetVehicleHealth help !! - by Dayrion - 13.05.2016, 16:56
Re: SetVehicleHealth help !! - by Sjn - 13.05.2016, 17:01
Re: SetVehicleHealth help !! - by Dayrion - 13.05.2016, 17:26

Forum Jump:


Users browsing this thread: 1 Guest(s)