Removing the rear doors of vehicles
#1

I want to remove the back doors of vehicles, I did a lot of ******'ing but didn't come up with anything. Currently, I am using UpdateVehicleDamageStatus along with encode_doors but it only lets me remove the driver's and co-driver's doors but not the rear doors. Is there any way to do this?
Reply
#2

The easy way

1 - Print the values of GetVehicleDamageStatus under OnVehicleDamageStatusUpdate
2 - Damage the vehicle to let the doors fall
3 - UpdateVehicleDamageStatus

Or

https://sampwiki.blast.hk/wiki/UpdateVehicleDamageStatus
https://sampwiki.blast.hk/wiki/DoorStates
Reply
#3

https://sampwiki.blast.hk/wiki/DoorStat...stores_what.3F

Quote:

The first byte stores the state of the hood
The second byte stores the state of the trunk
The third byte stores the state of the drivers door
The fourth byte stores the state of the co-drivers door
The states of the 2 rear doors cannot be handled by GetVehicleDamageStatus and UpdateVehicleDamageStatus.

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)