• Ran out of Weapon Categories (WEAPON_PISTOL, WEAPON_HEAVY etc.)
    2 replies, posted
Hey everyone, like the title says: I have ran out of weapon categories on my Server WEAPON_NONE = Pointshop Knife WEAPON_PISTOL = Pistols WEAPON_HEAVY = Heavy Weapons WEAPON_NADE = Grenades WEAPON_EQUIP1 = T/D Items WEAPON_EQUIP2 = T/D Items WEAPON_ROLE = DNA Scanner WEAPON_MELEE = Crowbar WEAPON_CARRY = Magneto Stick What I need is a completely empty Slot, I have tried "WEAPON_NONE2", "WEAPON_EQUIP3", 'nil' But all those seem to be "WEAPON_NONE" in the end Is there a different categorie that I do not know of? -Greeting, Santifocus
[url]https://github.com/Facepunch/garrysmod/blob/7afc0e9627781656216c5bdd85729b64c6d2174e/garrysmod/gamemodes/terrortown/gamemode/shared.lua#L41-L52[/url] You can probably add your own if need be, but you can only go up to 9 while still supporting non-fast switching.
Ah nice, that worked , Tyvm!
Sorry, you need to Log In to post a reply to this thread.