Garry's Mod

Garry's Mod

29 arvostelua
Hobo Donation Chest & Basket [DarkRP]
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Content Type: Addon
Addon Type: Effects
Addon Tags: Fun, Roleplay
Tiedostokoko
Julkaistu
Päivitetty
1.602 KB
4.1.2019 klo 6.08
6.4.2019 klo 3.29
7 muutosilmoitusta ( näytä )

Tilaa ladataksesi
Hobo Donation Chest & Basket [DarkRP]

Kuvaus

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 kommenttia
gygfuyft 4.2.2023 klo 11.22 
Hmmmmmmm may I add you on Discord? I got a few ideas but I don't want to flood the comments!
Matrix  [tekijä] 4.2.2023 klo 5.38 
@zachary New version of this addon is linked in the description.
Matrix  [tekijä] 4.2.2023 klo 2.21 
Got any small neat ideas for an new addon you'd want? I'm in the mood to create anything
gygfuyft 3.2.2023 klo 5.47 
I LOVE this little addon & can't wait to see a new version of it as well!
gygfuyft 3.2.2023 klo 5.47 
I'd love that! It would really add more to the hobo job & people would just donate so they're on the list
Matrix  [tekijä] 2.2.2023 klo 23.26 
@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.2.2023 klo 12.08 
Are you ever going to add the top 3 donators list or have the code for it that I can paste in?
Matrix  [tekijä] 4.8.2021 klo 9.35 
@Business Man, Ye you can use the 'spawn' variable in entities.lua to set the owner of the entity to the player.
[AHC] ⛧ 25.7.2021 klo 13.42 
is there a way to make it a player owned entity instead of world?
Matrix  [tekijä] 3.4.2019 klo 11.33 
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