Garry's Mod Leaks

[LEAK] NPC Store/Rob system

Submitted by viciwi, , Thread ID: 148694

Thread Closed
03-11-2019, 09:38 AM
This post was last modified: 03-11-2019, 09:48 AM by viciwi
#1
[Image: 2ae148f2106859d030027d026d67dea2.png]

[Image: dd46ba41adb35eeed9e9ead09e41da2b.png]

[Image: 59bc230ffbd647b24e687707bcb4267f.png]
To all users, it is an NPC store, with organised tabs and the ability to restrict items to user groups, it is a nice and clean store for users to buy from.

However, to the adventurous and risk-taking in-game user, this store can be robbed. It comes with its risks, however also has it's rewards.


If you want to support the creator here is the link to the addon on gmodstore :https://www.gmodstore.com/market/view/3936
Detailed description

This system allows for users to both make and spend money!
Any user can access the store that can be configured through a config file. They can then purchase an item through the store. This allows for a way to get players out of their base and have them actually go around the map to do things. For example you could have it sell ammo and have players leave their base if they want ammo. Or you could have it sell printers, with the same reasoning.
The second part to this addon is the robbery system. If the user is one of a list of jobs, they are able to rob the store for some extra cash. This can make the location of the NPC a hot spot for your server. It also adds a new level of RP allowing for more kinds of criminal-government interaction.


High levels of customisation - The config allows almost all elements to be edited, this way the addon is exactly to your liking.

Allow players to spend money

Allow players to earn money

Blur design

Sleek button animation

Organised tabs, allowing for categorization

Usergroup restrictable items

Configurable animation during rob process

Optional "drop moneybag" system

Custom model

NPC calls for help

Basic UI to help government navigate to robbery

NPCs to be placed around the map - This forces players to leave their base and actually navigate the map.

Save system. Use the command "savestorerob" to save the NPCs to the map

Failchecker (User disconnects, dies or leaves a set distance then the robbery ends)

Lightweight - This addon was designed to be as small and compact as possible, this means that it does not pull on your server resources.

[b]Saving the NPC to map[/b]
To save the NPC to the map, do the following

Spawn the NPC around the mapOnce you have all the NPCs spawned, type the command "savestorerob" in console. This will present a chat message and will save the NPCs Restart the server

And you're done! Simple :https://anonfile.com/k8O2K29cn5/npcstorerob_rar
The link in this hidden content has been reported as down 0 times this month.
1 times in total

Users browsing this thread: 1 Guest(s)