• We have a new discord! click here to join
    Any faulty links ? Report them in our discord or via our Ticket System!
    We do everything we can to protect the safety of our visitors, if any resource contains malware in any kind of form or obfuscation please report it aswell ♡♡

QBUS NP-EMOTE FIXED Keybinds Working and Save in Database (1 Viewer)

monetleak3d

Active member
Jun 20, 2023
125
22
18
Credits
2,977
-=Stripped Content=-
Drag and Drop QBCOre , SQL Inside File . Also can set keybinds by commands .

Keybinds Default works with Shift+Numpad 0 to 6 with Numpad Off , After you can change the keys in Fivem Setting Key Binds
with Delete Key Emotes cancel

Paste this to qb-radialmenu/config.lua
{
id = "emotes",
displayName = "Emotes",
icon = "#emotes",
enableMenu = function()
local Data = QBCore.Functions.GetPlayerData()
return not Data.metadata["isdead"] and not Data.metadata["inlaststand"]
end,
functionName = "emotes:OpenMenu"
},
or for events or function use "emotes:OpenMenu"

Anything Comment Below
18 folders not recommended lol...
 

exodizzmo

Member
God VIP
Jan 16, 2024
5
0
1
Credits
73
Tried to use, resources are running but when I add the function to qb-radialmenu it gives the following errors. I am probably doing something wrong. Please advise 1716745301160.png
 

Asnt73

Active member
Aug 7, 2022
82
9
8
27
Nepal
Credits
211
-- Register a command to open the emote menu
RegisterCommand('openemotemenu', function()
TriggerEvent('emotes:OpenMenu')
end, false)

TriggerEvent('chat:addSuggestion', '/openemotemenu', 'Open the emote menu')

-- Create a keymapping for the emote menu
RegisterKeyMapping('openemotemenu', 'Open Emote Menu', 'keyboard', 'F3')

AddEventHandler('emotes:OpenMenu', function()
print('Emote menu opened')
end)

or for JS
// Register a command to open the emote menu
RegisterCommand('openemotemenu', function() {
emit('emotes:OpenMenu');
}, false);

TriggerEvent('chat:addSuggestion', '/openemotemenu', 'Open the emote menu');

// Create a keymapping for the emote menu
RegisterKeyMapping('openemotemenu', 'Open Emote Menu', 'keyboard', 'F3');

// Listen for the 'emotes:OpenMenu' event
on('emotes:OpenMenu', function() {
console.log('Emote menu opened');
});

or in radialmenu i have already told use same format as yours or copy on of you format in Funtion or Events Paste "emotes:OpenMenu"
 
  • Post hidden due to user being banned.
  • Post hidden due to user being banned.

Users who are viewing this thread

Top