Garry's Mod

Garry's Mod

285 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://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2996492942 (Can't pick up the same weapons)

- https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=946373028 (Drop Weapon)

- https://gtm.steamproxy.vip/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)
58 Comments
kuz-(kuz)  [author] 7 Sep @ 7:02pm 
i eat ass
Mookie mouse 7 Sep @ 7:01pm 
WARNING! Carry on reading! Or you will die, even if you only looked at the word warning! Once there was a little boy called Joey, he was ten-years-old and he lived in a mental hospital because he posted a crappy copypasta onto a People Playground mod's comment section . He got so bad he went to kill all the staff in the hospital so the Feds decided that best idea was to get rid of him so they set up a special room to kill him, as inhumane as possible. And he sat there in agony for hours until he died. Now every week on the day of his death he returns to the person that reads this letter, on a monday night at 12:00 a.m. He creeps into your room and kills you slowly, by pegging you and watching you bleed to death. Now send this to ten other profiles on this one site, and he will haunt someone else who doesn't. This isn't fake. apparently if u copy and paste this to ten comments in the next ten minutes nothing will happen: sorry man i am not taking the risk
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 😂