SetCanPedEquipWeapon — FiveM Natives
0xB4771B9AAF4E68E4 · WEAPON · all
Disables selecting the given weapon. Ped isn't forced to put the gun away. However you can't reselect the weapon if you holster then unholster. Weapon is also grayed out on the weapon wheel.
Parameters
| Name | Type |
|---|---|
| ped | Ped |
| weaponHash | Hash |
| toggle | BOOL |
Returns
void