Garry's Mod

Garry's Mod

161 betyg
Can't pick up the same weapons (Now with a whitelist)
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Content Type: Addon
Addon Type: Tool
Addon Tags: Roleplay, Realism
Filstorlek
Lades upp
Uppdaterades
2.208 KB
29 jun, 2023 @ 16:19
1 jul, 2023 @ 21:31
2 ändringsnotiser ( visa )

Abonnera för att ladda ner
Can't pick up the same weapons (Now with a whitelist)

I 7 samlingar av kuz-(kuz)
GRPD PVP New
170 artiklar
SCP GRPD NEW
121 artiklar
GRPD MIlitary Event
142 artiklar
fasf
93 artiklar
GRPD Zombie Event Butter
102 artiklar
GRPD Half-Life 2 Updated
131 artiklar
GRPD HL2
177 artiklar
Beskrivning
Description:
This is a simple addon that adds a hook which restricts the player from picking up the weapon that he already has.
This works with any sort of type of inventory mod.

The whitelist makes the addon don't work with the weapons that are inside that whitelist.

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

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

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



Addon recommendations:

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

- https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2969530350 (Simple Limited Weapon Slots)

Tags: Restrict | hotbar | cant pick up existing weapon mod | realistic | counter strike | css


Other:
My discord: kuz-(kuz)#7427

My discord server: https://discord.gg/83PCYU3gb6
25 kommentarer
kuz-(kuz)  [skapare] 10 aug @ 11:07 
thx
the foo 9 aug @ 14:50 
very cool :steamthumbsup:
pipboy15112 18 jan @ 9:35 
thanks
Slav 20 aug, 2024 @ 3:22 
Whats weapon used in gif?
NoobsALot266 13 aug, 2024 @ 18:08 
Im using this so I can spawn the physgun and toolgun in animated scenes without it being picked up
kuz-(kuz)  [skapare] 6 sep, 2023 @ 10:30 
It is compatible with vmanip @Vilbys
Bilirubin 2 sep, 2023 @ 11:35 
Well it's time to make it compatible with VMANIP! 👍🏻
kuz-(kuz)  [skapare] 1 sep, 2023 @ 15:15 
@Pain reliever The code it self looks way too easy. I mean I suck at coding don’t get me wrong. I smashed my keyboard so hard that I had to buy a new one when I coded this one. Then, I basically applied all of my poor knowledge from different lua tutorials on youtube and made this. Thanks for the feedback btw :steamhearteyes:
ich bin meow 1 sep, 2023 @ 14:13 
how did you manage to do this, i remember all kinds of devs whining its not possible, great addon!