Garry's Mod Leaks
DarkRP Money Bag
Submitted by fredit1337, 30-01-2018, 07:41 AM, Thread ID: 72251
Thread Closed
DarkRP Support
DarkRP 2.6+
Other custom versions of DarkRP are not supported, and don't count on my support if you're using a custom version of DarkRP with modified core features.
Description
This is a money bag that can collect money, be robbed and get rigged with bombs.
It's a cool and simple script, and fits any DarkRP server.
If you drop money onto the bag, the money will be added into the bag, just like they stack if you drop them onto each other normally.
The money bag however makes it harder for thieves to steal your money. It will take them time to steal from the bag if they don't own it.
The bag can be rigged with bombs, but can also be defused. All 3 entities can be purchased at any time from the entity menu.
Features
This addon supports DarkRP 2.6.+
Other newer versions should also work. If they do not, please create a ticket so this can be sorted.
Extract "darkrpmoneybag" to your addons!
Content
Counter Strike Source is required for the bomb and the defuse kit. These models can be replaced if you wish.
Just edit it in the entities.
Customizing
To customize the addons settings, go to DarkRP Money Bag/lua/entities/money_bag/shared.lua.
In the top of the file you can customize the settings shown below.
MONEYBAG_DESIGN_OwnerBoxColor = Color( 200, 200, 200, 150 )
MONEYBAG_DESIGN_OwnerTextColor = Color( 200, 200, 200, 230 )
MONEYBAG_DESIGN_MoneyTitleBoxColor = Color( 200, 200, 200, 150 )
MONEYBAG_DESIGN_MoneyTitleTextColor = Color( 0, 150, 0, 230 )
MONEYBAG_DESIGN_MoneyBoxColor = Color( 200, 200, 200, 150 )
MONEYBAG_DESIGN_MoneyTextColor = Color( 0, 150, 0, 230 )
MONEYBAG_Health = 80 -- Amount of health the money bag has. [Default = 80]
MONEYBAG_StealTime = 10 -- Amount of seconds it takes to steal the money from the bag (if you are not the owner). [Default = 10]
You can also customize the item in the f4 menu (model, max amount, price and so on) in the shared.lua file in the 3 entities folders (money_bag, money_bag_bomb and money_bag_defuser).
Errors & Support
If you find any problems with the script, please create a support ticket with details of the situation and a copy paste of the error in console. Additionally, i rarely give additional support for my scripts. If there is a general error with the script, an error that you can prove happens, and is my fault. Send me a PM here on CoderHire. We'll figure it out there, and perhaps a chat on Steam after I've responded to your PM. I am also not interested in modifying you a custom version of the addon. Also not upon payment. Sorry!
Conflicting addons is not to be said if I will support that or not. This is something I will decide upon confrontation about a conflicting addon. If you have some sort of proof that an addon is conflicting with my addon, please send me a PM with the details you might have.
Thank you!
DarkRP 2.6+
Other custom versions of DarkRP are not supported, and don't count on my support if you're using a custom version of DarkRP with modified core features.
Description
This is a money bag that can collect money, be robbed and get rigged with bombs.
It's a cool and simple script, and fits any DarkRP server.
If you drop money onto the bag, the money will be added into the bag, just like they stack if you drop them onto each other normally.
The money bag however makes it harder for thieves to steal your money. It will take them time to steal from the bag if they don't own it.
The bag can be rigged with bombs, but can also be defused. All 3 entities can be purchased at any time from the entity menu.
Features
- Entity in F4 menu.
- Stores money if money is dropped onto it.
- The owner can take the money at any time.
- Other people can "steal" the money from the bag with a timer delay (see config file). Must look at the bag throughout the process.
- Money bag bomb that will make the bag explode when player tries to pick up money.
- Money bag defuser that will clear the money bag from any bombs.
- Money bag can be destroyed by taking damage. Health is set in the configs.
This addon supports DarkRP 2.6.+
Other newer versions should also work. If they do not, please create a ticket so this can be sorted.
Extract "darkrpmoneybag" to your addons!
Content
Counter Strike Source is required for the bomb and the defuse kit. These models can be replaced if you wish.
Just edit it in the entities.
Customizing
To customize the addons settings, go to DarkRP Money Bag/lua/entities/money_bag/shared.lua.
In the top of the file you can customize the settings shown below.
MONEYBAG_DESIGN_OwnerBoxColor = Color( 200, 200, 200, 150 )
MONEYBAG_DESIGN_OwnerTextColor = Color( 200, 200, 200, 230 )
MONEYBAG_DESIGN_MoneyTitleBoxColor = Color( 200, 200, 200, 150 )
MONEYBAG_DESIGN_MoneyTitleTextColor = Color( 0, 150, 0, 230 )
MONEYBAG_DESIGN_MoneyBoxColor = Color( 200, 200, 200, 150 )
MONEYBAG_DESIGN_MoneyTextColor = Color( 0, 150, 0, 230 )
MONEYBAG_Health = 80 -- Amount of health the money bag has. [Default = 80]
MONEYBAG_StealTime = 10 -- Amount of seconds it takes to steal the money from the bag (if you are not the owner). [Default = 10]
You can also customize the item in the f4 menu (model, max amount, price and so on) in the shared.lua file in the 3 entities folders (money_bag, money_bag_bomb and money_bag_defuser).
Errors & Support
If you find any problems with the script, please create a support ticket with details of the situation and a copy paste of the error in console. Additionally, i rarely give additional support for my scripts. If there is a general error with the script, an error that you can prove happens, and is my fault. Send me a PM here on CoderHire. We'll figure it out there, and perhaps a chat on Steam after I've responded to your PM. I am also not interested in modifying you a custom version of the addon. Also not upon payment. Sorry!
Conflicting addons is not to be said if I will support that or not. This is something I will decide upon confrontation about a conflicting addon. If you have some sort of proof that an addon is conflicting with my addon, please send me a PM with the details you might have.
Thank you!
Users browsing this thread: