Getting tire damage states
#1

Hi. I'm not good with binary and stuff. I need to know whether both the back tires are popped on a vehicle, from GetVehicleDamageStatus.

To pop the back two tires, I do this:

pawn Код:
UpdateVehicleDamageStatus(GetPlayerVehicleID(playerid), Panels, Doors, Lights, 1 | (0 << 1) | (1 << 2) | (0 << 3));
But I didn't write that, so I don't understand how to 'reverse' it for GETTING the states.
Reply


Messages In This Thread
Getting tire damage states - by MP2 - 11.07.2012, 08:46
Re: Getting tire damage states - by Vince - 11.07.2012, 09:08
Re: Getting tire damage states - by MP2 - 11.07.2012, 09:25
Re: Getting tire damage states - by clarencecuzz - 11.07.2012, 09:30
Re: Getting tire damage states - by MP2 - 11.07.2012, 09:31
Re: Getting tire damage states - by Kar - 11.07.2012, 09:40
Re: Getting tire damage states - by clarencecuzz - 11.07.2012, 09:43
Re: Getting tire damage states - by MP2 - 11.07.2012, 09:44
Re: Getting tire damage states - by Vince - 11.07.2012, 09:47
Re: Getting tire damage states - by MP2 - 11.07.2012, 09:53

Forum Jump:


Users browsing this thread: 1 Guest(s)