Any function to open vehicle doors?
#1

Is there any function to open vehicle doors?
A function like OnVehicleDoor?
Or any include for it?
Reply
#2

Bump
Reply
#3

You can only detect if a door is locked, not opened.

https://sampwiki.blast.hk/wiki/GetVehicleParamsEx
Reply
#4

https://sampwiki.blast.hk/wiki/UpdateVehicleDamageStatus
->
https://sampwiki.blast.hk/wiki/DoorStates
->
'The first bit stores whether the door is opened(1) or not(0) (the door will still lock (and change the first bit to 0) if closed - its just open)'

It won't actually make the door 'OPEN', it will make it be 'swinging'. That's as close as you can yet, unfortunately.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)