Garry's Mod

Garry's Mod

35 ratings
Gold Coins (DarkRP)
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Entity
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
2.700 KB
28 Jun, 2021 @ 11:31am
30 Aug, 2022 @ 9:09am
2 Change Notes ( view )

Subscribe to download
Gold Coins (DarkRP)

Description

Gold Coins

This is a nice little addon that allows Gold Coins to be spawned in via the Q Menu and collected by users. There is 5 Convars that can be changed so it can give random amounts of money on collection or a set amount read below.


Credits

<CODE BLUE> Profile for original code following one of his fantastic tutorials. May he rest in piece. Thank you for all you gave to the community.


How to spawn

  • Spawn from menu: Open Q Menu go to Entities -> CatGuy Sweps -> Gold Coins


How to configure

  • By default the amount is random between 500 and 2000.
  • You can set the minimum coin value by setting coin_min_value xxx in your server console.
  • You can set the maximum coin value by setting coin_max_value xxx in your server console.
  • You can set the money you get on collection to a actual value by setting coin_random 0 and coin_value xxx this will then give this amount per coin to set it back to the radom min/max set coin_random 1
  • You can set the coin despawn delay value by setting coin_despawn_delay xxx in your server console.


How to use

  • Run into them to collect.


GitHub Download

4 Comments
ThatCatGuy  [author] 1 Mar, 2024 @ 4:04am 
You have to manually place the coins so you can see where they are. The money it gives is random so you will not be able to track it. You could edit it to make it put something in OOC to show how much they collected. look at https://darkrp.miraheze.org/wiki/Functions/DarkRP/Server/notifyAll
pacmastermeow 1 Mar, 2024 @ 12:48am 
where can i track the money
ThatCatGuy  [author] 30 Aug, 2022 @ 9:13am 
Update: Added coin_despawn_delay setting and this will auto despawn the coin if its not collected within the set time which is 30 seconds by default.
David Yoshi 8-0-5 1 Jul, 2021 @ 7:10pm 
yo