Weapon::unequipEmptyWeapons

From RAGE Multiplayer Wiki
Revision as of 02:09, 21 April 2020 by MrPancakers2 (talk | contribs) (Created page with "__NOTOC__ Toggle if you want to stop the player from putting away a weapon when it runs out of ammo. == Setter == *{{RageType|Bool}} - Enable/Disable unequip {{JSContainer|...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Setter

  • Bool - Enable/Disable unequip

JavaScript Syntax

Syntax

mp.game.weapon.unequipEmptyWeapons = toggle;

Examples

Disabled unequipping the weapon when it runs out of ammo.

Client-Side
mp.game.weapon.unequipEmptyWeapons = false;


See Also