alberttheprince / rpemotes-reborn

The official respository of rpemotes-reborn, a community-driven FiveM emote menu with human, animal, and prop support.
https://rpemotes.com/
GNU General Public License v3.0
72 stars 43 forks source link

Emotebind does not respond to input. #71

Open oXMarloXo opened 5 days ago

oXMarloXo commented 5 days ago

Describe the bug The error can be seen in the picture. The Emotebind does not respond to input with the names of the keys. Apparently num4 doesn't exist.

To Reproduce Steps to reproduce the behaviour:

  1. Go to chat.
  2. Type /emotebind num4 sit.
  3. You can see the bug there.

Expected behaviour That it accepts all keybinds and saves the database.

oXMarloXo commented 5 days ago

image

iSentrie commented 5 days ago

Keybinds and SQL 🎛️

To use the SQL features, install the latest version of the oxmysql resource and enable the setting in config.lua

SqlKeybinding = false,

If you do not want to use the SQL features keep the oxmysql region in fxmanifest.lua commented out.

Alternatively, you can use the keybind command that comes with FiveM without having to use SQL, by entering the following into F8:

bind keyboard "Yourbutton" "e youremote". To remove the keybind, type "unbind keyboard "Yourbutton".

oXMarloXo commented 5 days ago

The Sql Keybinding is set to true.

Sql Keybinding = true, -- If you have the SQL imported enable this to turn on keybinding.

There is a comment in the fxmanifest.lua.

server_script '@oxmysql/lib/MySQL.lua'

The error does not exist on the server.

Because I tested the script with a raw ESX server.

alberttheprince commented 1 day ago

The Sql Keybinding is set to true.

Sql Keybinding = true, -- If you have the SQL imported enable this to turn on keybinding.

There is a comment in the fxmanifest.lua.

server_script '@oxmysql/lib/MySQL.lua'

The error does not exist on the server.

Because I tested the script with a raw ESX server.

Did you uncomment it in the fxmanifest? Not understanding what you're saying here.

oXMarloXo commented 1 day ago

The Sql Keybinding is set to true. Sql Keybinding = true, -- If you have the SQL imported enable this to turn on keybinding. There is a comment in the fxmanifest.lua. server_script '@oxmysql/lib/MySQL.lua' The error does not exist on the server. Because I tested the script with a raw ESX server.

Did you uncomment it in the fxmanifest? Not understanding what you're saying here.

Yes, it's uncommented.

image

And the other one is set to true.

image

alberttheprince commented 1 day ago

Can you verify which version you're using? Is this release or the main branch?

oXMarloXo commented 1 day ago

rpemotes reborn

fx_version 'cerulean' game 'gta5' description 'rpemotes-reborn' version '1.7.8'

OXMYSQL

fx_version 'cerulean' game 'common' use_experimental_fxv2_oal 'yes' lua54 'yes'

name 'oxmysql' author 'Overextended' version '2.12.0'

Both are release builds

alberttheprince commented 1 day ago

@Mathu-lmn any ideas on this? I don't use this feature tbh

iSentrie commented 1 day ago

it's deprecated, i dont see any reason to support that feature, use other key bind method I mentioned earlier

alberttheprince commented 17 hours ago

it's deprecated, i dont see any reason to support that feature, use other key bind method I mentioned earlier

Oh, so is this just appearing as an unused command? We should check the newest version and update latest.