Garry's Mod

Garry's Mod

279 ratings
Simple Limited Weapon Slots (Now with a whitelist)
2
2
2
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Roleplay, Realism
File Size
Posted
Updated
4.561 KB
30 Apr, 2023 @ 12:33pm
1 Jul, 2023 @ 9:02pm
2 Change Notes ( view )

Subscribe to download
Simple Limited Weapon Slots (Now with a whitelist)

In 3 collections by kuz-(kuz)
GRPD PVP New
170 items
GRPD MIlitary Event
142 items
GRPD HL2
177 items
Description
The addon adds limited slots for each section of your hotbar. Basically, instead of having so much weapons in a single section, you can just enter the console command for any number you like and that number is gonna be the limit for the section. The default number is two so it means that you can have only maximum of two weapons per each section.
The addon also has a whitelist now, any weapon that would be added in there would not take space in a slot.

!!!IT DOES NOT WORK WITH PHYSGUN, TOOLGUN, CAMERA ALL DEFAULT HALF-LIFE 2 WEAPONS!!!

The command to change how much weapons you can have per slot/section: kuz_max_weapons_per_slot <Any number>

The command to add a weapon to the whitelist: kuz_weapons_whitelist_add <any weapon>

The command to remove a weapon from the whitelist: kuz_weapons_whitelist_remove <any weapon>

Config file name (kuz_weapons_whitelist.txt) You can find it in the data folder

It would be lovely to get some thumbs up from you all :3

Addon recommendations:

- https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2996492942 (Can't pick up the same weapons)

- https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=946373028 (Drop Weapon)

- https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2950879341 (Carry Same Weapons!)

Testers:
- Me
- neviromechtail

My discord server https://discord.gg/8982DuaX8j

Tags: Slot limitation | inventory system | Counter-strike source | Hotbar | Hot-bar | Limit sections |
Popular Discussions View All (1)
3
18 May @ 4:41pm
Bug reports or other problems
kuz-(kuz)
56 Comments
DEVASTATION 18 May @ 4:44pm 
I made a bug report of weapon slot not replacing the dropped weapon from its category for new one when standing on top of it (i imagine the bug was there for a while, i just kept forgetting to report it)
Annex 3 Apr @ 5:13am 
@(Insert Username Here) that would be super useful
Democratic Ice Noodle 30 Mar @ 12:40am 
May I add a small suggestion more from TacRP, the ability to change how it functions when you are at max weapons. For instance rather then not pickup the weapon when the slot is filled, it picks up the gun but either drops or removes the old one. A dropping mode would pair well if mods that enable manual weapon pickup.
kuz-(kuz)  [author] 25 Sep, 2024 @ 6:27pm 
@Gnilomord might be a conflict with another addon or just try to reinstall it
Gnilomord 20 Sep, 2024 @ 9:36am 
It stopped working for me, the weapons are still piling up, which could cause a conflict?
kuz-(kuz)  [author] 11 Apr, 2024 @ 9:28pm 
bruh, gmod community is just retarded
JJTPMTKT 11 Apr, 2024 @ 10:49am 
5 star >> 4 star 😂
BonegraVE 9 Apr, 2024 @ 1:45am 
Would have been cool if you could switch weapon on the ground by pressing “use” key.
Snaking Gamer 6 Sep, 2023 @ 2:10pm 
Does anyone know a why to get this to work better with Insane Stats?