Closed owlel closed 10 months ago
Client/Main.lua, it should be that, not sure tho, you can go ahead and simply remove the function or just remove line of code that executes that function, i would suggest the second option since this function i'm guessing is used a lot.
Don't delete the function, simply remove this line of code.
I don't know if I'm answering late. But if you still need help with that, follow the instructions below
here is the code that makes you do an animation when you open the inventory:
local function openAnim() LoadAnimDict('pickup_object') TaskPlayAnim(PlayerPedId(),'pickup_object', 'putdown_low', 5.0, 1.5, 1.0, 48, 0.0, 0, 0, 0) end
so what you want to do is you simply just change 5.0, 1.5, 1.0, 48, 0.0, 0, 0, 0 to 0.0, 0.0, 0.0, 00, 0.0, 0, 0, 0
Hope this helped even though I'm replying late.
Don't delete the function, simply remove this line of code.
this is wrong
This issue has had 60 days of inactivity & will close within 7 days
Summary
Open Inventory animation messes with weapon draw
Reproduction
The animation is slow for some reason in my server when it comes to opening the inventory and drawing a weapon afterwards, when I draw my weapon my arms are still in the animation to open my inventory. Im looking through configs and seeing where I can possibly remove this animation to help? If anyone knows where it may be.
Expected behavior
For us to draw our weapons faster and normally.
Actual behavior
Hands are glitched and stuck in the open inventory animation for 2 seconds, while drawing and shooting my gun.
Additional context
No response
Last Updated
This week
Custom Resources
qb-core
Resource Rename
No