ItemFlag

Item flags used by ItemInfo::iFlags

Values

Name Value Description
ITEM_FLAG_SELECTONEMPTY 1 Allow this weapon to be selected if it has no ammo.
ITEM_FLAG_NOAUTORELOAD 2 Don't automatically reload this weapon.
ITEM_FLAG_NOAUTOSWITCHEMPTY 4 Don't automatically switch away from this weapon when it runs out of ammo.
ITEM_FLAG_LIMITINWORLD 8 If there are few entity slots left, this item will not respawn.
ITEM_FLAG_EXHAUSTIBLE 16 A player can totally exhaust their ammo supply and lose this weapon.
ITEM_FLAG_DUALWIELD 32 Use a special HUD ammo configuration unique to a dual wielded weapons.
ITEM_FLAG_IGNOREWEAPONSTAY 64 Ignore weaponstay settings when respawning this weapon.
ITEM_FLAG_ESSENTIAL 128 This weapon should not be dropped straight away when the player dies, only if he is gibbed or if he respawned.