Garry's Mod

Garry's Mod

160 arvostelua
Can't pick up the same weapons (Now with a whitelist)
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Content Type: Addon
Addon Type: Tool
Addon Tags: Roleplay, Realism
Tiedostokoko
Julkaistu
Päivitetty
2.208 KB
29.6.2023 klo 16.19
1.7.2023 klo 21.31
2 muutosilmoitusta ( näytä )

Tilaa ladataksesi
Can't pick up the same weapons (Now with a whitelist)

7 kokoelmassa, tekijä kuz-(kuz)
GRPD PVP New
170 luomusta
SCP GRPD NEW
121 luomusta
GRPD MIlitary Event
142 luomusta
fasf
93 luomusta
GRPD Zombie Event Butter
102 luomusta
GRPD Half-Life 2 Updated
131 luomusta
GRPD HL2
177 luomusta
Kuvaus
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 kommenttia
kuz-(kuz)  [tekijä] 10.8. klo 11.07 
thx
the foo 9.8. klo 14.50 
very cool :steamthumbsup:
pipboy15112 18.1. klo 9.35 
thanks
Slav 20.8.2024 klo 3.22 
Whats weapon used in gif?
NoobsALot266 13.8.2024 klo 18.08 
Im using this so I can spawn the physgun and toolgun in animated scenes without it being picked up
kuz-(kuz)  [tekijä] 6.9.2023 klo 10.30 
It is compatible with vmanip @Vilbys
Bilirubin 2.9.2023 klo 11.35 
Well it's time to make it compatible with VMANIP! 👍🏻
kuz-(kuz)  [tekijä] 1.9.2023 klo 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.9.2023 klo 14.13 
how did you manage to do this, i remember all kinds of devs whining its not possible, great addon!