SetVehicleHealth Respawning Problem
#6

Before you set the vehicle hp under 250, make a variable for that vehicle example
new VehicleDamned[MAX_VEHICLES] on top of your gm
when you set it add VehicleDamned[Vehicleid] = 1;
Under OnVehicleStreamIn, put this ( im using ipad sorry i cant give the exact code) :
If(VehicleDamned[Vehicleid] == 1)
{
VehicleDamned[Vehicleid] = 0;
//set the vehicle hp to the normal hp
}
I just gave you the temporary solution, didnt test it but i think it will work
Reply


Messages In This Thread
SetVehicleHealth Respawning Problem - by iRage - 18.01.2014, 17:01
Re: SetVehicleHealth Respawning Problem - by MP2 - 18.01.2014, 17:01
Re: SetVehicleHealth Respawning Problem - by Basssiiie - 18.01.2014, 17:16
Re: SetVehicleHealth Respawning Problem - by Calgon - 18.01.2014, 17:21
Re: SetVehicleHealth Respawning Problem - by iRage - 18.01.2014, 17:22
Re: SetVehicleHealth Respawning Problem - by Battlezone - 18.01.2014, 17:36
Re: SetVehicleHealth Respawning Problem - by pyrodojo25 - 18.01.2014, 21:24
Re: SetVehicleHealth Respawning Problem - by Pasa - 19.01.2014, 07:55
Re: SetVehicleHealth Respawning Problem - by 2KY - 19.01.2014, 16:47
Re: SetVehicleHealth Respawning Problem - by Pottus - 19.01.2014, 17:20
Re: SetVehicleHealth Respawning Problem - by AIped - 22.02.2014, 17:53

Forum Jump:


Users browsing this thread: 7 Guest(s)