Garry's Mod

Garry's Mod

29 értékelés
Hobo Donation Chest & Basket [DarkRP]
   
Díjazás
Kedvenc
Kedvenc
Törlés
Content Type: Addon
Addon Type: Effects
Addon Tags: Fun, Roleplay
Fájlméret:
Közzétéve:
Frissítve:
1.602 KB
2019. jan. 4., 6:08
2019. ápr. 6., 3:29
7 változásjegyzék ( megnézés )

Feliratkozás a letöltéshez
Hobo Donation Chest & Basket [DarkRP]

Leírás

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 megjegyzés
gygfuyft 2023. febr. 4., 11:22 
Hmmmmmmm may I add you on Discord? I got a few ideas but I don't want to flood the comments!
Matrix  [készítő] 2023. febr. 4., 5:38 
@zachary New version of this addon is linked in the description.
Matrix  [készítő] 2023. febr. 4., 2:21 
Got any small neat ideas for an new addon you'd want? I'm in the mood to create anything
gygfuyft 2023. febr. 3., 5:47 
I LOVE this little addon & can't wait to see a new version of it as well!
gygfuyft 2023. febr. 3., 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  [készítő] 2023. febr. 2., 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 2023. febr. 2., 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  [készítő] 2021. aug. 4., 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] ⛧ 2021. júl. 25., 13:42 
is there a way to make it a player owned entity instead of world?
Matrix  [készítő] 2019. ápr. 3., 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://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=728931375