[HELP] Register a Command for LightbarScript

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)

You’re not registering the command, use this: