Drip Jacker
Silver Elite
I have a problem with the default button binding on my server(Qb-core). So far, in the client->main.lua file, changing the "RegisterKeyMapping" line helped and the keys were correctly set as I wanted by default. However, I have a problem with the "pma-voice" and "nui_drawtext" scripts. In the first script,microphone volume button, in the second, the scene creation button does not allow for changes, and despite the change in main.lua, the binding remains at the previous values. As if it was bound somewhere else. Please help. Below are the lines that stubbornly refuse to change.
"Pma-voice"
RegisterKeyMapping('+cycleproximity', 'Cycle Proximity', 'keyboard', GetConvar('voice_defaultCycle', 'F5'))
"Nui_drawtext"
RegisterKeyMapping('createscene', 'Create Scene', 'INSERT', Config.CreateSceneKey)
RegisterKeyMapping('deletescene', 'Delete Scene', 'DELETE', Config.DeleteSceneKey)
"Pma-voice"
RegisterKeyMapping('+cycleproximity', 'Cycle Proximity', 'keyboard', GetConvar('voice_defaultCycle', 'F5'))
"Nui_drawtext"
RegisterKeyMapping('createscene', 'Create Scene', 'INSERT', Config.CreateSceneKey)
RegisterKeyMapping('deletescene', 'Delete Scene', 'DELETE', Config.DeleteSceneKey)