Garry's Mod

Garry's Mod

436 个评价
SCP Inventory Keycard Version
2
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 特效
插件标签: 角色扮演, 风景
文件大小
发表于
更新日期
10.579 MB
2018 年 2 月 19 日 上午 8:19
2018 年 3 月 22 日 上午 7:24
7 项改动说明 ( 查看 )

订阅以下载
SCP Inventory Keycard Version

描述
This addon is not compatible with any addon who monopolize the PlayerUse hook
Rework of the addon : SCP - Inventory system & SCP 1123
Press C to open your inventory ( if toogle )
This new version allow you to use level keycard on door.

How to apply level restriction on button or door :
- Give you the weapon : "KeyCard Editor"
- Aim to a button or a door ( depend on what open the door )*
- Right click to select a level ( 0 to 5 ) ( set 0 to remove restriction )
- Left click to apply the settings
- When you have set all the door level , write /scpsavekeycard in the chat or SCPSavekeycardlevel in console

+ When you have the weapon in hand you can see all door which have level restriction
+ <B>mean this is a button
+ <D> mean this is a door
+ Reload to remove noises

* = Some SCP Map, only the button can open door , so you need to restrict the acces of the button but not the door.

Chat command :
"/openscpinv" : to open the inventory.
"/drophazmat" : to drop the hazmat
"/scpsavekeycard" : to save all keycard restriction (Admin only)

Console command :
"SCPInventory_ContextMenu" : toogle the inventory on the context menu ( 0 = disable , 1 = enable )
"SCPOpeninventory" : to open the inventory
"SCPSavekeycardlevel" : save all keycard restriction (Admin only)
"SCPLoadkeycardlevel" : load all keycard restriction (Admin only)
"SCPResetkeycardlevel" : reset all keycard restriction (Admin only)
"SCPDropHazmat" : to drop the hazmat

Incompatible with :
- Playable Piano ( return true on playerUse hook )
- Realistic Handcuffs [www.gmodstore.com]

Update ( 19/02/18, 21:30 )
- Fix some error relative to keycard editor - Add lua function for loadout spawn
TEAM_GUN = DarkRP.createJob("Gun Dealer", { color = Color(255, 140, 0, 255), model = "models/player/monk.mdl", description = [[A Gun Dealer is the only person who can sell guns to other people. Make sure you aren't caught selling illegal firearms to the public! You might get arrested!]], weapons = {}, command = "gundealer", max = 2, salary = GAMEMODE.Config.normalsalary, admin = 0, vote = false, hasLicense = false, category = "Citizens", PlayerSpawn = function(ply) if ( SERVER ) then ply:CreateSCPInventory() ply:SCP_Inventory_GiveLoadout( "ent_fak", "ent_hazmat_suit", "card_lvl_4" ) end end })
* Use ply:CreateSCPInventory() to clear the inventory * Use ply:SCP_Inventory_GiveLoadout( ... ) to give items * All entities key are their classname * Carefull PlayerSpawn hook can't be called if value norespawn is set to false ( because you don't respawn )

Update ( 20/02/18, 07:30 )
Fixed lua font error

Update ( 20/02/18, 22:40 )
Fixed lua error

Update ( 22/02/18, 07:50)
Fix lua error about using keycard Added debug mod ( SCPInventory_debug 1 ) to enable it

Update ( 22/02/18, 09:10)
Allow you to add restriction on prop_dynamic Some SCP Door are prop_dynamic

Update ( 22/03/18, 15:20)
Added all console command to server side CleanUp restore door level now


This addon has been tested only on rp_area14_v2
Report any lua error thank
热门讨论 查看全部(13)
10
2024 年 10 月 10 日 下午 6:48
why do i not get stuff in my inventory
Tank Enjoyer
7
2021 年 9 月 19 日 上午 6:47
How do I change the keybinding for card inventory?
GenericUser Bmr
3
2020 年 5 月 6 日 下午 2:37
Inventory Glitch
ScarletKing
251 条留言
Loopers 2024 年 9 月 10 日 下午 4:32 
"Press C to open your inventory ( if toogle )"

toogle
Loopers 2024 年 9 月 10 日 下午 4:31 
heya. is there a way to access the context menu with this mod enabled?
codyjheath2022 2023 年 7 月 31 日 上午 9:26 
Just type this " SCPInventory_ContextMenu 0" instead of this "SCPInventory_ContextMenu 1"
jlswagcool778 2023 年 7 月 14 日 上午 2:08 
I don't recommend this mod. Takes over Context menu which removes essential access that is apart of Gmod.
NNinja1255 2023 年 2 月 2 日 下午 2:37 
@Jaldo In the desc: "SCPInventory_ContextMenu" : toogle the inventory on the context menu ( 0 = disable , 1 = enable )
Jaksn 2023 年 1 月 25 日 下午 5:07 
don't download, it overrides your context menu
shrekboss95 2022 年 7 月 27 日 下午 4:24 
this makes no sense
Jeff91 2022 年 6 月 13 日 上午 9:59 
There is a way to drop a player inventory on death?
Grumpy Old Bastard 2022 年 2 月 12 日 下午 9:39 
wonderful ^_^
Jack 2022 年 1 月 8 日 上午 5:29 
what does the document do