morais5 / MS-Framework

Base MS-Framework (QBus) for FiveM 💖
GNU General Public License v3.0
50 stars 56 forks source link

ms-weapons #30

Closed Zy0exe closed 3 years ago

Zy0exe commented 3 years ago

Weapons Stays Usable after being broken.

morais5 commented 3 years ago

Hey 👋

I will see what is going on!

Thanks for your report

Zy0exe commented 3 years ago

So, a good work around would be using this native:

SetCurrentPedWeapon(
    ped --[[ Ped ]], 
    weaponHash --[[ Hash ]], 
    equipNow --[[ boolean ]]
)