Detecting the boot of a vehicle
#1

Is it possible to detect if the boot of a vehicle is still attached? I made a command to open/close the boot but it also works when the boot is visually damaged enough so that it has fallen off.
Reply
#2

you can try to do it with GetVehicleDamageStatus , check wiki.sa-mp.com for en/decode panels functions
Reply
#3

I found the encode functions there, but are there any decode ones?
Reply
#4

Bump
Reply
#5

Yes but I read on the wiki that the states of the panels for example are actually 4 bytes stringed together, would it still work? I tried figuring out how to decode a decimal number to binary on my own but I got no clue how.
Reply
#6

Sorry for dragging up an old thread. I got encode functions but really need decode as well. Can anyone create those for me for food, beer or a small dog!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)