Hey, I want that I can open the LightbarScript Menu for Vehicles from somwhere with a Command but the Command want register.
RegisterNetEvent(‘openLightbarMenu’)
Citizen.CreateThread(function()
TriggerEvent(‘chat:addSuggestion’, ‘/lightbars’, ‘description.’)
AddEventHandler(‘openLightbarMenu’, function(lightbarModel)
lightMenu(lightbarModel)
end)
end)