JiminyKroket / Invhud

ESX_InventoryHUD rework
11 stars 12 forks source link

Weapon getting put away when empty #50

Closed nickb203 closed 2 years ago

nickb203 commented 3 years ago

Is there a way to disable the weapon being holstered when empty?

When the gun reaches 0, handing the gun back to the PED so they keep the gun in hand rather then having it disappear.

Any solutions?

JiminyKroket commented 3 years ago

Don't think so, pretty sure that's like, hard coded into GTA 🤷

JiminyKroket commented 2 years ago

https://docs.fivem.net/natives/?_0x2A7B50E SetWeaponsNoAutoswap(true) CFX Native added in place to do just this thing