Exports and Events
OpenTuningMenu
exports['p_tuningmenu']:OpenTuningMenu(isStation)Example of Usage
local isStation = false
exports['p_tuningmenu']:OpenTuningMenu(isStation)
-- THIS CODE WILL OPEN MENU WITH BUY OPTION
local isStation = true
exports['p_tuningmenu']:OpenTuningMenu(isStation)
-- THIS CODE WILL OPEN MENU WITHOUT BUY OPTION
local isStation = ESX.PlayerData.job.name == 'mechanic' and false or true
exports['p_tuningmenu']:OpenTuningMenu(isStation)
-- THIS CODE WILL OPEN MENU WITH BUY OPTION FOR PLAYER WITH JOB MECHANICForceCloseMenu
MenuState
Example of Usage
Last updated