Garry's Mod

Garry's Mod

1,010 értékelés
Moneypot
   
Díjazás
Kedvenc
Kedvenc
Törlés
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Roleplay
Fájlméret:
Közzétéve:
Frissítve:
14.987 KB
2012. nov. 24., 5:22
2020. szept. 15., 1:33
14 változásjegyzék ( megnézés )

Feliratkozás a letöltéshez
Moneypot

Leírás
This is the (moderately) popular multi-use Money Pot addon I made for DarkRP. (Compatible with 2.4 and 2.5)
It is an entity that will store any money that touches it, with the ability to eject it all as one single money entity when 'use'd.
------------------
Github Repo[github.com]
------------------
On it's own, this provides a handy one-way transfer method for money in shops: Most of the moneypot it placed on the public side and the ejection end is placed on the shop owner's side. The customer places their money in the pot and the shop owner confirms it is the right amount and then ejects it.
However, with Wire, this becomes a particularly useful entity.
It has outputs that
A) Show how much money is inside it
b) Show how much money was just put inside it (or removed) and
c) Trigger every time money is put in or taken out.
It also has inputs that allow you to either empty the entire thing or more importantly output a portion of the total money stored inside.
This means it is very useful for automatic gun shops, both in knowing how much money the customer has put in and being able to make exact change if the customer puts too much money in (which is impossible otherwise!)

There is a full Lua interface in case you want to integrate it with your custom DarkRP server (maybe make money printers print directly into the nearest moneypot?) and even supports customising the money entity supported in case you use a different system to Public DarkRP (or even a different gamemode!)
Népszerű témák Összes megnézése (2)
10
2022. nov. 14., 22:52
Servers with this addon?
psychicweaver
3
2018. nov. 16., 6:05
Online Servers with this addon?
The Tardis
164 megjegyzés
Walter White 2021. márc. 9., 2:50 
why is the moneypot tool not showing up
Lexi  [készítő] 2020. szept. 15., 1:40 
I've just added support for different languages. If you would like to translate this addon into a language you speak, the words that need translating are here: https://github.com/Lexicality/Lexical-Tools/blob/master/resource/localization/en/moneypot.properties
Also if you spot any bugs, tell me.
Lexi  [készítő] 2020. júl. 20., 6:00 
What did you have to change?
Zeatth 2020. júl. 19., 7:34 
Sorted, thank you Lexi :)
Lexi  [készítő] 2020. júl. 19., 5:13 
Oh apologies this has already been discussed.
I have no idea where the capital letters are coming from as everything is lowercase in the source repository.
You can download the latest gma from my github here: https://github.com/Lexicality/Lexical-Tools/releases/tag/moneypot_v1.2.1
Lexi  [készítő] 2020. júl. 17., 12:11 
what do you need doing?
Zeatth 2020. júl. 17., 4:12 
Can you please update the addon file name to support linux hoster servers. Or can someone send me the file for it?
NubTheFatMan 2020. jún. 4., 11:16 
My host uses linux. I didn't know it was only an issue on linux though
Merlin 2020. jún. 4., 9:56 
That's only true for users using the Linux operating system.
NubTheFatMan 2020. jún. 4., 9:54 
I found the problem. I extracted the GMA and discovered that the file "Moneypot" starts with a capital. GMod is strict about file names (at least on my host), all files need to be lowercase (it's even said on the gmod wiki, I think. I could be wrong). I made the file lowercase and put it in the addons folder, and now it appears on the server.