Home / Marketplace / Gmod Scripts / Gmod Pocket System without DarkRP / Description


Media

Gmod Pocket System without DarkRP


Video of Gmod Pocket System without DarkRP

clean-interface - Gmod Pocket System without DarkRPdrop-from-panel - Gmod Pocket System without DarkRPhud-paint-info - Gmod Pocket System without DarkRPquick-access-to-the-wiki - Gmod Pocket System without DarkRPstyle-customisation - Gmod Pocket System without DarkRPyour-colors-rgb-code - Gmod Pocket System without DarkRPgmod-spawnmenu - Gmod Pocket System without DarkRP

Gmod StoreMaximum image size
Description

Description of Gmod Pocket System without DarkRP
🇫🇷 🇬🇧


"Inspired by the Pocket system of DarkRP, here is a light and minimalist version of my inventory system. It's a Swep that you must own to use. Quickly store whitelisted items with the left click and right click to drop the item where you are looking. Use the Reload key to display your Pocket's inventory."


Contents:
  1. 📘 Description of the Gmod Pocket System without DarkRP addon
  2. 🎒 SWEP Pocket
  3. 🕹️ Give
  4. ❓ What type of need can Gmod Pocket System meet?
  5. 🧩 Useful combination with other scripts?
  6. 📚 API associated with this Gmod Pocket addon
  7. 🛠️ Configuration options from the configuration file


📘 Description of the Gmod Pocket System without DarkRP addon

Gmod Pocket System without DarkRP has been designed for those who want a simple minimalist storage system. It's a storage system that makes up for the shortcomings of the DarkRP pocket system but can also work without DarkRP, as far as optimization is concerned, it doesn't download the entire contents of the pocket every time you pick up an item, and it's also smaller than my inventory system. Coded independently from any other system you can also make it work without the DarkRP gamemode. So you don't need DarkRP to make it work.

The system has a minimalist database that allows players when they come back to find their pocket on their character with its content.

This script does the job of the pocket you already know. I've made sure that old habits aren't broken.

Unlike my other inventory system, this one is a swep pocket that you can drop with its contents.



🎒 SWEP Pocket

Gmod Pocket System is a sweep that you can drop with its contents.
A more attractive and intuitive menu will open with the Reload key in a fluid way. With the possibility to bind a key (Default P for Pocket).
The left click will allow you to store inside the objects you are aiming at.
And the right click will allow you to drop the stored objects in the order where you look.

Class name of the weapon : norda_pocket

So if it is not equipped, you will not be able to store or open it.

From the config file you can choose to default it at spawn time. For those who want only certain jobs to spawn with a pocket on DarkRP and not everyone, you will need to add it to the job sweep list in the JobRelated.lua file in the same way as your old pocket system.



🕹️ Give

An option in the configuration file will allow you to give the pocket to the players when they connect.
You can also distribute it via the jobrelated.lua file or in other ways via the spawnmenu or other.



❓ What type of need can Gmod Pocket System meet?

-Are you looking to replace one by one the DarkRP modules that make up your server? The pocket is one of them.
-You want to correct the optimization problems of the DarkRP pocket ? This one does not correct it, it replaces it completely.
-You want to leave DarkRP but you are looking for a new pocket system that doesn't upset your players' habits with the old pocket ? And that works ?



🧩 Useful combination with other scripts?

The script works well alone. But did you know that it is possible to have a pocket for each character in Gmod Character Creator System.

The items created via Norda Pack Items are automatically added to the whitelist.



📚 API associated with this Gmod Pocket addon

- Client + server side:
Player:GetMaxPocket() = Returns the max storage capacity in the pocket. The max capacity is defined in the configuration file by the variable: cfg.Pocket_max.

- On the server side:
Player:StoreInPocket(class,qt,mdl,clip2) = Allows to store an entity with only the class name of that one.

Player:AddInPocket(ent,quantity) = Store an existing entity on the gmod server map.

Player:DropFromPocket(id) = Drop an item stored in the pocket.

Player:SavePocket() = Force save the pocket



🛠️ Configuration options from the configuration file
-----CONFIGURATION-----

cfg.OwnerSteamID="STEAM_0:0:000000000000" --If you are the owner and you dont use Admin System put your Steam ID here. Value exemple:---> "STEAM_0:1:125347606"
cfg.USeWorkshopContent=1 --If you dont have a fastdownload you can use workshop content(1 Enable "I want use workshop" / 0 Disable "I prefer use my fastdl")
cfg.notification_stock =1 -- Notify when an object is stored in the inventory
cfg.inv_give_pocket =1 -- Give the 'Pocket' to the players at the spawn
cfg.store_weapons =1 -- 1 = The pocket can store weapons. 0 = The pocket cannot store weapons.

-----Custom SOUND Effect-----
cfg.Sound_Store = "npc/zombie/foot_slide2.wav" -- Sound effect when items is stored
cfg.Sound_Drop = "npc/zombie/foot_slide2.wav" -- Sound effect when items is droped
cfg.Sound_Open = "norda_pocket/pocket_open.mp3" -- Sound effect when the pocket is open
cfg.Sound_Close = "norda_pocket/pocket_close.mp3" -- Sound effect when the pocket is close
cfg.Sound_Button = "npc/zombie/foot_slide2.wav" -- Sound effect when we clic on item in pocket

----------STYLE----------
cfg.Custom_Fonts="Trebuchet24" -- Custom Fonts
cfg.background_color = Color(0,0,0,150) -- Background Color of the pocket Panel
cfg.buttons_color = Color(0,162,232,255) -- Buttons Color of the pocket Panel
cfg.title_color = Color(255,255,255) -- Title Color of the pocket Panel
cfg.txt_color = Color(255,255,255,200)-- Texte Color of the pocket Panel

cfg.pocket_posx = 50 -- Horizontal position of the pocket panel according to the percentage of the resolution. 50% = Center
cfg.pocket_posy = 50 -- Verticale position of the pocket panel according to the percentage of the resolution. 50% = Center
cfg.pocket_size_wide = 47 -- Wide Size of the pocket panel according to the percentage of the resolution.
cfg.pocket_size_tall = 35 -- Tall Size of the pocket panel according to the percentage of the resolution.
cfg.style_rounded = 4 -- Rounding the corners
cfg.slot_size = 62 -- Size in pixels of the cells in the pocket.
cfg.mode_item_image = 0 -- Image display mode of the objects. Choose between the entity image given in the gmod spawnmenu and the 3D model of the object.

Installation

Installation: Download and Unzip the folder norda_pocket_system.zip Install the addon in the addons file of your Gmod server,

- Path : garrysmod/addons/ norda_pocket_system

Steam / Garry's Mod Workshop

- Gmod Content Workshop ID : 2885643265
- You can add this to a server-side Lua file : resource.AddWorkshop( 2885643265 )
- To add the gmod workshop resources to your collection : Gmod Pocket System without DarkRP [Content Only] | Gmod Workshop
Tips

Tip to avoid the leak of Gmod Pocket System without DarkRP installed on your Garry's Mod server: How avoid the Leak of your Gmod scripts
How Install an addon on Gmod? : How install an addon on Gmod
How Publish an addon on the Gmod workshop? : Documentation how create a content pack to publish on the workshop?

Gmod Addons

📥 Download 1.1


🎫 Open Ticket
⛔️ Sorry, you are not connected
Script Information

Reviews :

Not yet reviewed

Sales :

8

Published :

2 weeks

Last update :

Version :

version 1.1

DRM :

Yes


Categories :

Gmod addons

Requierements :

Garry's Mod Server

Languages :

🇬🇧 🇫🇷 🇩🇪 🇪🇸 🇷🇺

Author :

Norda

Tags :


Entities Allgamemode
Product author
avatar-76561198033784269

Norda

76561198033784269
🎨 Creator

Scripts