Original post · 1y ago#1
hello 👋
I ported rd-animations to QBCore (NUI menu included). Let me know if you spot issues  I noticed folks were asking for a QB version.
Source;
[URL='https://highleaks.com/threads/r-animations-menu.22459/']https://highleaks.com/threads/r-animations-menu.22459/[/URL]
[img]/public/images/logo.png[/img]
INFO:
I'm giving it to free because it may not be 100% functional. Let me know if you find any mistakes and I'll fix them.
[URL='https://drive.google.com/file/d/13h4M22mnN_AD_f1fuYVHdzRLlL_2Gohq/view?usp=sharing']D[/URL][URL='https://drive.google.com/file/d/13h4M22mnN_AD_f1fuYVHdzRLlL_2Gohq/view?usp=sharing']ownload here[/URL]
I ported rd-animations to QBCore (NUI menu included). Let me know if you spot issues  I noticed folks were asking for a QB version.
Source;
[URL='https://highleaks.com/threads/r-animations-menu.22459/']https://highleaks.com/threads/r-animations-menu.22459/[/URL]
[img]/public/images/logo.png[/img]
INFO:
I'm giving it to free because it may not be 100% functional. Let me know if you find any mistakes and I'll fix them.
[URL='https://drive.google.com/file/d/13h4M22mnN_AD_f1fuYVHdzRLlL_2Gohq/view?usp=sharing']D[/URL][URL='https://drive.google.com/file/d/13h4M22mnN_AD_f1fuYVHdzRLlL_2Gohq/view?usp=sharing']ownload here[/URL]
[HEADING=2]
what’s done (short & precise)
[/HEADING]Full ESX → QBCore port (callbacks, notify, closest player, streaming helpers, events).
UI: ui_page 'html/ui.html'  opening the menu and clicking plays the animation.
DB persistence: favourites (sets 1–5), walking style, facial expression.
Fixes: key conflict, invalid models (guitar, map2), cleaned manifest.
[HEADING=2]
dependencies
[/HEADING]qb-core
oxmysql (server side: @oxmysql/lib/MySQL.lua)
oxmysql (server side: @oxmysql/lib/MySQL.lua)
[HEADING=2]
keys (and where to change them)
[/HEADING]Cancel: uses Config.CancelAnimationDefultKey (default X).
→ edit in client/config.lua.
Hands Up: Config.HandsUpDefaultKey = 'H' (instead of X).
→ edit in client/config.lua.
(Cancel mapping is no longer hardcoded: RegisterKeyMapping('+c', ..., Config.CancelAnimationDefultKey).)
[HEADING=2]
installation
[/HEADING]Drop rd-animations into resources/[qb]/rd-animations/.
Import sql_qb.sql into your DB.
In server.cfg:
ensure qb-core
ensure oxmysql
ensure rd-animations
0 replies
Sign in to join the discussion.