Saving Tyre States - How does this work?
#1

pawn Code:
new Panels, Doors, Lights, Tires;
GetVehicleDamageStatus(vehicleid, Panels, Doors, Lights, Tires);
UpdateVehicleDamageStatus(vehicleid, Panels, Doors, Lights, (Tires | 0b0101));
This is the example given.

Take for instance, that I wanted to 'slash' a tyre in game.

It would have to check the state of the tyres first, so as to not 'repair' a tyre when bursting another.

So how would I keep the other tyres the same if for instance I chose to burst the back left tyre?

Thanks.
Reply


Messages In This Thread
Saving Tyre States - How does this work? - by Dokins - 13.04.2016, 14:02
Re: Saving Tyre States - How does this work? - by Godey - 13.04.2016, 14:42
Re: Saving Tyre States - How does this work? - by Dokins - 13.04.2016, 14:43
Re: Saving Tyre States - How does this work? - by Godey - 13.04.2016, 14:45
Re: Saving Tyre States - How does this work? - by Konstantinos - 13.04.2016, 14:55
Re: Saving Tyre States - How does this work? - by Dokins - 13.04.2016, 15:26

Forum Jump:


Users browsing this thread: 1 Guest(s)