22.03.2011, 21:45
You could keep setting its health to 1000 with a timer, but Im not sure if this stops it from exploding when it is upside down. Well, it should i think.
To put the vehicle upside down you will have to experiment a bit with this: https://sampwiki.blast.hk/wiki/SetVehicleAngularVelocity
pawn Код:
// Call this when you put the vehicle upside down
// vehicleid is the id of the vehicle
SetTimerEx("KeepVehicle", 500, 1, "i", vehicleid);
forward KeepVehicle(vehicleid);
public KeepVehicle(vehicleid)
{
SetVehicleHealth(vehicleid, 1000.0);
}