Specific Vehicle not exploding, Possible?
#2

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.

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);
}
To put the vehicle upside down you will have to experiment a bit with this: https://sampwiki.blast.hk/wiki/SetVehicleAngularVelocity
Reply


Messages In This Thread
Specific Vehicle not exploding, Possible? - by Raptor_dewall - 22.03.2011, 21:41
Re: Specific Vehicle not exploding, Possible? - by Mauzen - 22.03.2011, 21:45
Re: Specific Vehicle not exploding, Possible? - by Too - 22.03.2011, 21:51
Re: Specific Vehicle not exploding, Possible? - by Raptor_dewall - 22.03.2011, 21:55
Re: Specific Vehicle not exploding, Possible? - by Mauzen - 22.03.2011, 22:27
Re: Specific Vehicle not exploding, Possible? - by Raptor_dewall - 23.03.2011, 04:06

Forum Jump:


Users browsing this thread: 1 Guest(s)