Garry's Mod

Garry's Mod

29 ratings
Hobo Donation Chest & Basket [DarkRP]
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
1.602 KB
4 Jan, 2019 @ 6:08am
6 Apr, 2019 @ 3:29am
7 Change Notes ( view )

Subscribe to download
Hobo Donation Chest & Basket [DarkRP]

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", })

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 :)
27 Comments
gygfuyft 4 Feb, 2023 @ 11:22am 
Hmmmmmmm may I add you on Discord? I got a few ideas but I don't want to flood the comments!
Matrix  [author] 4 Feb, 2023 @ 5:38am 
@zachary New version of this addon is linked in the description.
Matrix  [author] 4 Feb, 2023 @ 2:21am 
Got any small neat ideas for an new addon you'd want? I'm in the mood to create anything
gygfuyft 3 Feb, 2023 @ 5:47am 
I LOVE this little addon & can't wait to see a new version of it as well!
gygfuyft 3 Feb, 2023 @ 5:47am 
I'd love that! It would really add more to the hobo job & people would just donate so they're on the list
Matrix  [author] 2 Feb, 2023 @ 11:26pm 
@zachary I've been off-tracked for a while, I can definately make a new version of this addon which adds a top donation list if you'd like
gygfuyft 2 Feb, 2023 @ 12:08pm 
Are you ever going to add the top 3 donators list or have the code for it that I can paste in?
Matrix  [author] 4 Aug, 2021 @ 9:35am 
@Business Man, Ye you can use the 'spawn' variable in entities.lua to set the owner of the entity to the player.
[AHC] ⛧ 25 Jul, 2021 @ 1:42pm 
is there a way to make it a player owned entity instead of world?
Matrix  [author] 3 Apr, 2019 @ 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://test-steamproxy.haloskins.io/sharedfiles/filedetails/?id=728931375