[Request] A bus door script

I know this may be an easy but small suggestion yes I know there are so many vehicle scripts out there… But I was wondering if someone could make a script for busses that will open both front doors at the same time. Same with the 2 rear doors on the bus. it just seems odd when you are manually openning one or the other.

Try creating it yourself, these are the functions you’ll probably want to use:

SetVehicleDoorOpen() (Opens a specific door)
http://runtime.fivem.net/doc/reference.html#_0x7C65DAC73C35C862

SetVehicleDoorsShut() (Closes all vehicle doors)
http://runtime.fivem.net/doc/reference.html#_0x781B3D62BB013EF5

1 Like

I see the function but how would I go about making the front left and front right open when one key is pressed?

Youd put 2 natives in that opened each door