Garry's Mod

Garry's Mod

PropPrice - The Innovative Anti-Prop Spam Addon
46 kommentarer
Piengineer12  [ophavsmand] 5. dec. 2021 kl. 4:18 
@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 kl. 21:58 
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  [ophavsmand] 12. juli 2021 kl. 0:48 
Turns out I've forgotten a type cast. I've fixed it in the latest update to the UCE.
Reasonably Overworked 12. juli 2021 kl. 0:27 
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  [ophavsmand] 11. juli 2021 kl. 2:25 
Alright, I've rolled out an update to the UCE, comment there if any improvements / bug fixes can be made.
Reasonably Overworked 11. juli 2021 kl. 0:53 
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  [ophavsmand] 11. juli 2021 kl. 0:52 
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?
Reasonably Overworked 10. juli 2021 kl. 19:57 
Is it possible to support Nmoney 2 addon to be used as the currency for spawning props?
Judas Priest 5. feb. 2021 kl. 1:48 
I'll definitely look into it on the meantime and update you on it. Thanks for responding. :steamthumbsup:
Piengineer12  [ophavsmand] 5. feb. 2021 kl. 1:36 
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 kl. 1:24 
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 kl. 1:17 
https://psteamcommunity.yuanyoumao.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  [ophavsmand] 5. feb. 2021 kl. 0:16 
I think spawning NPCs already require players to pay cash to spawn them. Unless I misunderstood what you meant.
Piengineer12  [ophavsmand] 4. feb. 2021 kl. 6:13 
Thanks, I'm glad to know there's still people using my addons.
Judas Priest 4. feb. 2021 kl. 6:05 
I'm also gonna donate just because you were able to make that into effect so quickly :)
Judas Priest 4. feb. 2021 kl. 6:04 
Awesome thank you! If there is a way you can limit players from spawning npcs aswell then that would be awesome aswell.
Piengineer12  [ophavsmand] 28. jan. 2021 kl. 0:09 
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 kl. 3:01 
If there was a way to set a max amount of cash or income you can get, then that would be pretty epic.
Piengineer12  [ophavsmand] 17. juni 2020 kl. 21:54 
The price options should be in Spawnmenu -> Options -> PropPrice, if I remember correctly.
AriStykes 13. juni 2020 kl. 20:31 
how do i change the price?
Skinns 27. apr. 2020 kl. 12:44 
Aight, thanks man.
Also understandable.
Piengineer12  [ophavsmand] 27. apr. 2020 kl. 8:55 
*icon16/package.png
Piengineer12  [ophavsmand] 27. apr. 2020 kl. 0:23 
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 kl. 13:27 
Would you mind telling me what the directory for the money and package icons used for the hud are?
Skinns 26. apr. 2020 kl. 13:26 
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 kl. 9:45 
i thought of this but don't know how to make mods, thank you
Piengineer12  [ophavsmand] 7. sep. 2019 kl. 22:29 
Money printers? Maybe. I'll consider it...
Sentry 7. sep. 2019 kl. 14:39 
Damn, all I can really suggest is a way to produce money that involves placing entities similar to money printing systems DarkRP posses.
Piengineer12  [ophavsmand] 6. sep. 2019 kl. 22:42 
The addon isn't dead BTW, it's just fallen asleep.
Piengineer12  [ophavsmand] 6. sep. 2019 kl. 22:41 
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 kl. 20:57 
I love this addon so much, I can't wait until you add more ways to earn money.
CyberMassacre 16. mar. 2019 kl. 15:16 
Dude, I ♥♥♥♥♥♥♥ love this. Thank you so much.
avi 1. mar. 2019 kl. 10:16 
:/
Piengineer12  [ophavsmand] 23. feb. 2019 kl. 7:56 
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 kl. 0:57 
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 kl. 21:32 
ok, this is epic
Piengineer12  [ophavsmand] 18. feb. 2019 kl. 16:31 
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 kl. 16:28 
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  [ophavsmand] 18. feb. 2019 kl. 16:10 
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 kl. 16:08 
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 kl. 23:04 
Oh great! Thanks! I couldn't find it in the admin menu. Great Mod BTW!
Piengineer12  [ophavsmand] 22. jan. 2019 kl. 22:55 
There's already a command for that: propprice_resetplayers
S. HITMAN 22. jan. 2019 kl. 22:35 
can u add an option to reset all players incomes and current cash to values in the menu?
Piengineer12  [ophavsmand] 21. jan. 2019 kl. 15:10 
You can set the multipliers for the addon, don't worry.
avi 21. jan. 2019 kl. 12:23 
nvm 100k dollors for liberty prime and 15k for zecolion what a rippoff
avi 18. jan. 2019 kl. 12:32 
i like the idea