Commands, Exports, Events
Commands
Command
Description
/openCC
Open Vehicle Control Menu
/closeCC
Close Vehicle Control Menu
/toggleCC
Toggle Vehicle Control Menu
You may change these commands in the config file
-- Commands used to open, close and toggle vheicle control UI
Config.OpenCommand = "openCC"
Config.CloseCommand = "closeCC"
Config.ToggleCommand = "toggleCC"
Exports
The client-side exports used to open and close the vehicle control UI. These can be called from any script, such as a radial menu.
exports("md-vehiclemenu"):openVehicleMenu() -- open vehicle control
exports("md-vehiclemenu"):closeVehicleMenu() -- close vehicle control
Last updated