Closed Epsilona closed 11 months ago
Do you get any error in f8 menu or in the console log?
Do you get any error in f8 menu or in the console log?
No but its solved, i had to add this in the file for handsup: local animDict = "missminuteman_1ig_2" local anim = "handsup_base" local handsup = false RegisterCommand('hu', function() local ped = PlayerPedId() if not HasAnimDictLoaded(animDict) then RequestAnimDict(animDict) while not HasAnimDictLoaded(animDict) do Wait(10) end end handsup = not handsup if exports['qb-policejob']:IsHandcuffed() then return end if handsup then TaskPlayAnim(ped, animDict, anim, 8.0, 8.0, -1, 50, 0, false, false, false) exports['qb-smallresources']:addDisableControls(Config.disableHandsupControls) else ClearPedTasks(ped) exports['qb-smallresources']:removeDisableControls(Config.disableHandsupControls) end end, false)
exports('getHandsup', function() return handsup end)
RegisterKeyMapping('hu', 'Hands Up/Down', 'keyboard', 'X')
did you delete dp emotes?
No i just added this in the end "RegisterKeyMapping('hu', 'Hands Up/Down', 'keyboard', 'X')"
Can confirm this is a problem on my server as well, except I have no errors.
Create a PR if not done yet with the fix
This issue has had 60 days of inactivity & will close within 7 days
Describe the bug I cannot press the button "X" the get my handsup using the qb-smallresources. But the /hu works for me.
To Reproduce Steps to reproduce the behavior:
Expected behavior My hands would go up in an animation.
Screenshots If applicable, add screenshots to help explain your problem.
Questions (please complete the following information):
qb-
to something custom? NoAdditional context Add any other context about the problem here.