Garry's Mod

Garry's Mod

Not enough ratings
[DarkRP] Treasure Spawning System
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Server content
Addon Tags: Fun, Roleplay
File Size
Posted
7.891 KB
18 Jul, 2018 @ 7:59am
1 Change Note ( view )

Subscribe to download
[DarkRP] Treasure Spawning System

Description
This Addon contains a marker tool and a "Search Swep", for opening crates/chests/etc.
In them, there can be money or weapons, configurable in the config.lua file

A spawning system for the lootings is also included, and can be configurated also in the config and with the Marker Tool.

Notice: The Addon is only for the gamemode "DarkRP". But the addon could also work for gamemodes which derive from it.


Following things can be changed in the config file:

- How long it takes to search a crate
- How far you have to be from a crate to search it (max)
- If you have to hold a key while searching
- The lowest amount of money you can receive by opening a crate
- The highest amount of money you can receive by opening a crate
- If it should play a sound while seaching a crate
- If money should be dropped as an entity or should be given directly to the players wallet
- The chance in percent of recieving money
- The chance in percent of recieving a weapon
- The maximum total amount of crates which can exist (with spawning system)
- The interval of trying to spawn a crate for each player who is valid
- The minimum distance to the valid player for the spawning crate
- The maximum distance to the valid player to the spawning crate
- All the weapons which can be found in the crates
- If the players need the Search SWEP for opening and spawning crates. [+ Which jobs can search the crates]
- Skin of the treasure, adjustments of the y position of the model and the textscreen
- The "garbage props" wich will spawn after opening a crate
- The text messages
1 Comments
miss sluggiez 23 Jul, 2018 @ 11:36am 
This is really neat, any chance of it ever being put on github?