Garry's Mod

Garry's Mod

Not enough ratings
Hobo Donation Chest & Basket [DarkRP]
 
Rate  
Favorite
Favorited
Unfavorite
Type: Effects, Addon
Tags: Fun, Roleplay
File Size
Posted
Updated
0.002 MB
Jan 4 @ 6:08am
Apr 6 @ 3:29am
7 Change Notes ( view )

Subscribe to download
Hobo Donation Chest & Basket [DarkRP]

Subscribed
Unsubscribe
Description
The Hobo Donation Chest & Basket is a Entity created for the gamemode called DarkRP.
To pick up Money from the chest/basket that people put in it simply press E on the chest/basket.
BUT only the Chest/Basket owner is able to collect the money from it.
You can also use your Physgun to freeze and move around this chest.
The Hobo Donation Chest/Basket gives Notifications about the following:
•how much you collected.
•If the Chest/Basket is Empty.
•If you do not own the Chest/Basket.

Put in Entities.lua to add Donation Box in Shops:
DarkRP.createEntity("Donation Chest", {
ent = "donation_box",
model = "models/props/CS_militia/footlocker01_open.mdl",
price = 100,
max = 2,
sortOrder = 1,
cmd = "buydonationchest",
})

or

DarkRP.createEntity("Donation Basket", {
ent = "donation_basket",
model = "models/props_junk/PlasticCrate01a.mdl",
price = 100,
max = 2,
sortOrder = 1,
cmd = "buydonationbasket",
})

Future Plans:

•Top 3 Donators List.
•Config - Lockpickable, Destroyable,

Give Suggestions in Comments about what I should do next and please leave a comment if something isn't working.
Also Remember to leave a rating :)
< >
18 Comments
Matrix  [author] Apr 3 @ 11:33am 
You could recode this and make it accept weapons. Currently it does not. Use this if you want to do such things: https://steamcommunity.com/sharedfiles/filedetails/?id=728931375
kvitlizi Apr 3 @ 9:13am 
And how to put there a weapon from CW 2.0? In general, can this be done, or only money?
Matrix  [author] Apr 2 @ 11:00am 
@suka-svetit I've update the addon to fit your needs. Sorry for the late update. Tons of stuff going on rtn in school.
vokashu Mar 17 @ 7:02am 
Ok. Thank u.
Matrix  [author] Mar 17 @ 5:49am 
I can probably patch it so you don't need a Prop-protection actually
Matrix  [author] Mar 17 @ 5:48am 
You need to have a Propprotection that uses "CPPIGetOwner" to be able to use this addon.
Matrix  [author] Mar 17 @ 5:48am 
That's your issue @vokahsu
vokashu Mar 17 @ 5:45am 
Nope.
Matrix  [author] Mar 17 @ 5:30am 
Do you use any kind of prop-protection? @vokahsu
vokashu Mar 17 @ 1:43am 
When I spawn an entity, it instantly disappears. There are no errors in the console. What is the problem?