Garry's Mod
29 valoraciones
Hobo Donation Chest & Basket [DarkRP]
   
Premio
Favoritos
Favorito
Quitar
Content Type: Addon
Addon Type: Effects
Addon Tags: Fun, Roleplay
Tamaño
Publicado el
Actualizado el
1.602 KB
4 ENE 2019 a las 6:08 a. m.
6 ABR 2019 a las 3:29 a. m.
7 notas sobre cambios ( ver )

Suscríbete para descargar
Hobo Donation Chest & Basket [DarkRP]

Descripción

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 comentarios
gygfuyft 4 FEB 2023 a las 11:22 a. m. 
Hmmmmmmm may I add you on Discord? I got a few ideas but I don't want to flood the comments!
Matrix  [autor] 4 FEB 2023 a las 5:38 a. m. 
@zachary New version of this addon is linked in the description.
Matrix  [autor] 4 FEB 2023 a las 2:21 a. m. 
Got any small neat ideas for an new addon you'd want? I'm in the mood to create anything
gygfuyft 3 FEB 2023 a las 5:47 a. m. 
I LOVE this little addon & can't wait to see a new version of it as well!
gygfuyft 3 FEB 2023 a las 5:47 a. m. 
I'd love that! It would really add more to the hobo job & people would just donate so they're on the list
Matrix  [autor] 2 FEB 2023 a las 11:26 p. m. 
@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 a las 12:08 p. m. 
Are you ever going to add the top 3 donators list or have the code for it that I can paste in?
Matrix  [autor] 4 AGO 2021 a las 9:35 a. m. 
@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 a las 1:42 p. m. 
is there a way to make it a player owned entity instead of world?
Matrix  [autor] 3 ABR 2019 a las 11:33 a. m. 
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