Skip to main content

Weapon::unequipEmptyWeapons

Not available on SYNC MP yet

This member is part of the RAGE:MP API but SYNC MP does not implement it yet (Client-side JavaScript). Calling it does nothing or throws.

Toggle if you want to stop the player from putting away a weapon when it runs out of ammo.

Setter​

  • Bool - Enable/Disable unequip

Syntax​

mp.game.weapon.unequipEmptyWeapons = toggle;

Examples​

Disabled unequipping the weapon when it runs out of ammo.

Client-Side

mp.game.weapon.unequipEmptyWeapons = false;