Garry's Mod

Garry's Mod

Not enough ratings
WeMoney System
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Fun, Roleplay
File Size
Posted
236.514 KB
16 Sep @ 7:06am
1 Change Note ( view )

Subscribe to download
WeMoney System

In 2 collections by w.black57
WeMods
23 items
Pseudo-Zombie Survival PvE
12 items
Description
This mod will mostly do nothing on its own and is used for Modders

Splitted this mod from my Sandbox Weapon Shop System (used to be 'Sandbox Weapon Shop and Money System') so that other mods can make use of the money system.

Features
Money System
- You Kill, You earn Money
- Option to split cash between players (Co-op Mode)
- Dynamic money value given depending on how much HP an NPC have
- Works on 99.99% of NPCs (From domino-ing floor turrets to killing Gunships it will credit you!)
- Many configurations to adjust money gain (Spawnmenu -> Options -> WeTools -> Money Options)
- Specifically assign NPCs to give a specific amount (with presets)!
- Configure to lose money on death!
- Money entity with configurable amount that it will give!
- Configurable gain when killing other players!
- Configure to persist money on map restart/change!
- and others!

Command Consoles

wblmoney_enable
wblmoney_money_start
wblmoney_money_max
wblmoney_money_plyvalue
wblmoney_money_entvalue
wblmoney_money_coop
wblmoney_money_persist
wblmoney_Nomoneyonally
wblmoney_dynamicmoney_enable
wblmoney_dynamicmoney_multplier
wblmoney_dynamicmoney_offset
wblmoney_dynamicmoney_fallback
wblmoney_moneyloss_enabled
wblmoney_moneyloss_method
wblmoney_moneyloss_fixed_amount
wblmoney_moneyloss_percent_amount

For Modders
Global functions to add or remove money:

1. wblmoneyadd(ply, add)
ply - player that will receive the money gain
add - amount of money to add

2. wblmoneydeduct(ply, cost)
ply - player that will receive the money gain
add - amount of money to be deducted
This function will return true if there is enough money on the player
If the player does not have enough money, it will return as false and will not deduct the player's cash

Difference with WePoint System?
- WePoint is a 'Long term currency' (Like permanent upgrades, etc)
- WeMoney is a 'Short term currency' (Its easily modifiable, easily earned gamewise)
- idk its pretty subjective but thats how I like to make it :3

Current mods that use this system:
Sandbox Weapon Shop System

Check out my other mods!

Donation would be appreciated for my work ^_^
2 Comments
avast windows 13 hours ago 
яйца
baccabab 17 Sep @ 2:04am 
+30 ass