Posts: 55
Threads: 8
Joined: Nov 2010
Reputation:
0
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.
Posts: 1,167
Threads: 57
Joined: Jul 2010
Reputation:
0
you can try to do it with GetVehicleDamageStatus , check wiki.sa-mp.com for en/decode panels functions
Posts: 55
Threads: 8
Joined: Nov 2010
Reputation:
0
I found the encode functions there, but are there any decode ones?
Posts: 55
Threads: 8
Joined: Nov 2010
Reputation:
0
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.
Posts: 42
Threads: 13
Joined: Mar 2013
Reputation:
0
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!