18.01.2014, 17:36
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
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