Hi there! I’m back with another release. This time it’s a rather simple one, only featuring basic key controls over nearest vehicle’s doors from the outside. It will be, however, worked on.
Screenshots
- Extract the contents into folder called
doorcontrol
into your resources folder. - Start the script: a) in the
server.cfg
file; b) through the console
Starting a resource through console
- In a server console, or client console (F8), type in
refresh
and confirm using ENTER - Type in
start doorcontrol
and confirm using ENTER
Starting a resource in server.cfg
- Add this line to your server.cfg
start doorcontrol
- Save the file and restart the server.
/doorcontrol
(alias /dc
) – Enables or disables the door controls. This option is stored and persists upon reconnection / restart.
Note: The controls are disabled by default.
None! Feel free to open issue if you find any!
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
[ad_2]
Original source: https://forum.cfx.re/t/release-vehicle-door-controls/1902977