Garry's Mod

Garry's Mod

161 个评价
Can't pick up the same weapons (Now with a whitelist)
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 工具
插件标签: 角色扮演, 写实
文件大小
发表于
更新日期
2.208 KB
2023 年 6 月 29 日 下午 4:19
2023 年 7 月 1 日 下午 9:31
2 项改动说明 ( 查看 )

订阅以下载
Can't pick up the same weapons (Now with a whitelist)

在 kuz-(kuz) 的 7 个合集中
GRPD PVP New
170 件物品
SCP GRPD NEW
121 件物品
GRPD MIlitary Event
142 件物品
fasf
93 件物品
GRPD Zombie Event Butter
102 件物品
GRPD Half-Life 2 Updated
131 件物品
GRPD HL2
177 件物品
描述
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://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=946373028 (Drop Weapon)

- https://psteamcommunity.yuanyoumao.com/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 条留言
kuz-(kuz)  [作者] 8 月 10 日 上午 11:07 
thx
the foo 8 月 9 日 下午 2:50 
very cool :steamthumbsup:
pipboy15112 1 月 18 日 上午 9:35 
thanks
Slav 2024 年 8 月 20 日 上午 3:22 
Whats weapon used in gif?
NoobsALot266 2024 年 8 月 13 日 下午 6:08 
Im using this so I can spawn the physgun and toolgun in animated scenes without it being picked up
kuz-(kuz)  [作者] 2023 年 9 月 6 日 上午 10:30 
It is compatible with vmanip @Vilbys
Bilirubin 2023 年 9 月 2 日 上午 11:35 
Well it's time to make it compatible with VMANIP! 👍🏻
kuz-(kuz)  [作者] 2023 年 9 月 1 日 下午 3: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 2023 年 9 月 1 日 下午 2:13 
how did you manage to do this, i remember all kinds of devs whining its not possible, great addon!