Garry's Mod

Garry's Mod

PropPrice - The Innovative Anti-Prop Spam Addon
46 Comments
Piengineer12  [author] 5 Dec, 2021 @ 4:18am 
@Hobo Joe
You can use my code, but under the MIT License [github.com]. As in, you can use my code for anything, so long as you include the LICENSE.txt I've linked above somewhere in your files.
Hobo Joe 28 Nov, 2021 @ 9:58pm 
Would you mind if I used your mod in a gamemode I'm making?
I was considering just being inspired by it and making a similar system to calculate "prop price" by mass, polygon count, whatever lol.
But I realize that even if I did use that concept, that it would never be as compatible/customizable as yours. Which would negatively effect servers/players ability to customize the difficulty of the mod/internal economical resource bull shiz.
I would give absolute full credit. I would need to modify it slightly to make it compatible of course (UI and very little code likely). The gamemode in question is a spiritual successor to Market Fog.

If you are uncomfortable with this no problem! I won't bother you any further!
Piengineer12  [author] 12 Jul, 2021 @ 12:48am 
Turns out I've forgotten a type cast. I've fixed it in the latest update to the UCE.
Ohmyori 12 Jul, 2021 @ 12:27am 
Hello again! Thank you for the quick update. The changes were a big help in my server.

Here's an error I've found though while attempting to exchange from Nmoney 2 to PropPrice:

---

[DeluxeFrappe|3|STEAM_0:1:125923806] Lua Error:

[Universal Currency Exchanger] lua/entities/currency_exchanger.lua:300: attempt to compare number with string
1. UniversalCurrencyFunction - lua/entities/currency_exchanger.lua:300
2. unknown - lua/entities/currency_exchanger.lua:506



[Universal Currency Exchanger] lua/entities/currency_exchanger.lua:300: attempt to compare number with string
1. UniversalCurrencyFunction - lua/entities/currency_exchanger.lua:300
2. unknown - lua/entities/currency_exchanger.lua:506 (x52)

Transaction successful!

---

As for improvements, I think the HUD or GUI is all I could think of since all of your scripts are so unique and well-written. Can't ask for more really. Thumbs up!
Piengineer12  [author] 11 Jul, 2021 @ 2:25am 
Alright, I've rolled out an update to the UCE, comment there if any improvements / bug fixes can be made.
Ohmyori 11 Jul, 2021 @ 12:53am 
Yes I was thinking of that too, and I remember seeing the same suggestion in the comment section there. I think the people will like it.
Piengineer12  [author] 11 Jul, 2021 @ 12:52am 
It's impossible unfortunately due to how I've coded the system. I can however update the old Universal Currency Exchanger addon to convert PropPrice cash to nMoney and back, is that fine?
Ohmyori 10 Jul, 2021 @ 7:57pm 
Is it possible to support Nmoney 2 addon to be used as the currency for spawning props?
Judas Priest 5 Feb, 2021 @ 1:48am 
I'll definitely look into it on the meantime and update you on it. Thanks for responding. :steamthumbsup:
Piengineer12  [author] 5 Feb, 2021 @ 1:36am 
I can't seem to reproduce the bug - the addon doesn't allow me to spawn anything when my cash is negative.

If propprice_overdrafting is 1, players can spawn things until their cash is negative, where it'll completely prevent any type of spawning. If you can still spawn NPCs while your cash is negative, then there might be an addon conflict.
Judas Priest 5 Feb, 2021 @ 1:24am 
Haha...sorry I know this addon is made for in specialty for props and I might be suggesting things that aren't really relevant to the addon.
But I just have not been able to find an addon(like this one) that has a creative system in place not to completely restrict players but also to prevent them possibly lagging/crashing a server if they wanted to.
Judas Priest 5 Feb, 2021 @ 1:17am 
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2384772043
I'm not exactly sure why other players are able to spawn then past the negatives or if it may have been intended this way but I think if there was an option to stop players from spawning anything past a certain amount of negative cash then that would work.
Piengineer12  [author] 5 Feb, 2021 @ 12:16am 
I think spawning NPCs already require players to pay cash to spawn them. Unless I misunderstood what you meant.
Piengineer12  [author] 4 Feb, 2021 @ 6:13am 
Thanks, I'm glad to know there's still people using my addons.
Judas Priest 4 Feb, 2021 @ 6:05am 
I'm also gonna donate just because you were able to make that into effect so quickly :)
Judas Priest 4 Feb, 2021 @ 6:04am 
Awesome thank you! If there is a way you can limit players from spawning npcs aswell then that would be awesome aswell.
Piengineer12  [author] 28 Jan, 2021 @ 12:09am 
Alright, I've added some ConVars in the latest update to set the max cash and income a player receives.
Judas Priest 22 Jan, 2021 @ 3:01am 
If there was a way to set a max amount of cash or income you can get, then that would be pretty epic.
Piengineer12  [author] 17 Jun, 2020 @ 9:54pm 
The price options should be in Spawnmenu -> Options -> PropPrice, if I remember correctly.
AriStykes 13 Jun, 2020 @ 8:31pm 
how do i change the price?
Skinns 27 Apr, 2020 @ 12:44pm 
Aight, thanks man.
Also understandable.
Piengineer12  [author] 27 Apr, 2020 @ 8:55am 
*icon16/package.png
Piengineer12  [author] 27 Apr, 2020 @ 12:23am 
It's going to be difficult to allow players to share cash with each other. Maybe when I'm not so busy.

Icons are from materials/icon16/money.png and materials/icon16/money.png.
Skinns 26 Apr, 2020 @ 1:27pm 
Would you mind telling me what the directory for the money and package icons used for the hud are?
Skinns 26 Apr, 2020 @ 1:26pm 
It would be cool of there was an option for players to place their money in the world or drop it upon death... still love this mod tho
Loku2 24 Apr, 2020 @ 9:45am 
i thought of this but don't know how to make mods, thank you
Piengineer12  [author] 7 Sep, 2019 @ 10:29pm 
Money printers? Maybe. I'll consider it...
Sentry 7 Sep, 2019 @ 2:39pm 
Damn, all I can really suggest is a way to produce money that involves placing entities similar to money printing systems DarkRP posses.
Piengineer12  [author] 6 Sep, 2019 @ 10:42pm 
The addon isn't dead BTW, it's just fallen asleep.
Piengineer12  [author] 6 Sep, 2019 @ 10:41pm 
I... Kinda forgot about this addon. Whoops.
Honestly I have no ideas on what other ways to earn money. Perhaps you can suggest something?

You can use the Universal Currency Exchnager in the meantime.

I'll update this soon though, to make sure its on par with the GitHub version.
Sentry 6 Sep, 2019 @ 8:57pm 
I love this addon so much, I can't wait until you add more ways to earn money.
CyberMassacre 16 Mar, 2019 @ 3:16pm 
Dude, I fucking love this. Thank you so much.
NotErrorSnowy7 1 Mar, 2019 @ 10:16am 
:/
Piengineer12  [author] 23 Feb, 2019 @ 7:56am 
I'm sorry you didn't find what you were looking for. I'm pretty sure that concept been done before, though. I just can't really remember which addon specifically...
IntellectualPotato 23 Feb, 2019 @ 12:57am 
well i tryed that mod and i didnt get it at all and wasnt what i was looking for much at all xd
Lead 19 Feb, 2019 @ 9:32pm 
ok, this is epic
Piengineer12  [author] 18 Feb, 2019 @ 4:31pm 
Oh, that's... very similiar to the Pointshop Banks, Shops and Item Gates addon I made a long time ago. In fact, your last points are basically the Pointshop addon in a nutshell.
IntellectualPotato 18 Feb, 2019 @ 4:28pm 
yea kinda like
options
buystuffmod -
-store -
-items

-put classname here of prop/weapon/entity-
-price-
-descrition-


-add-

and inside the store orwhatever its there now :D and you can buy it with the money that you get form whatever, or just overtime
and you can give other people money also that would be nice for rp
Piengineer12  [author] 18 Feb, 2019 @ 4:10pm 
You mean, an addon that allows you to add custom items, via cash, from a station of some sort, without Lua usage?
IntellectualPotato 18 Feb, 2019 @ 4:08pm 
i want a addon taht allows you to add stuff ex:
weapons, props, entities and all that stuff for cash also and nto from spawnmenu but a station taht can be spawned i would love that i been wanting that for sandbox lol
S. HITMAN 22 Jan, 2019 @ 11:04pm 
Oh great! Thanks! I couldn't find it in the admin menu. Great Mod BTW!
Piengineer12  [author] 22 Jan, 2019 @ 10:55pm 
There's already a command for that: propprice_resetplayers
S. HITMAN 22 Jan, 2019 @ 10:35pm 
can u add an option to reset all players incomes and current cash to values in the menu?
Piengineer12  [author] 21 Jan, 2019 @ 3:10pm 
You can set the multipliers for the addon, don't worry.
NotErrorSnowy7 21 Jan, 2019 @ 12:23pm 
nvm 100k dollors for liberty prime and 15k for zecolion what a rippoff
NotErrorSnowy7 18 Jan, 2019 @ 12:32pm 
i like the idea