RP Money
13 KB, 14 years ago, submitted by
This Add-On requires RP Core.
Information
Want to be rich? Try to get money from different kinds of sources, and put it in the Bank. If you don't think they are safe enough, take out some money from the Bank, buy a Safe and put it in there. It is also possible to buy your own ATM, where you can whenever you want take out money from the Bank whenever you want. But be aware when the host puts the brickcost up, where your money will dry up fast.
Features
- Changeable currency
- Works with RP Time
- Bank and Loan system
- Safe brick
- ATM
- Optional brick cost
- RTB Preferences
- Shop system
Saver saves
- Money
- Bank
- Loan
- Safe
Commands
- /GiveMoney - Gives money to the person looking at
Advanced commands
- /GrantMoney [amount] [name/bl_id] - Grants money to the specific player of yourself
- /DeductMoney [amount] [name/bl_id] - Deducts money to the specific player of yourself
- /ClearLoan [name/bl_id] - Clears the current loan on a specific player or yourself
Events
Input - onTransferSuccess - When the transfer to a brick was successfull
Output - transferMoneyToBrick [service] [amount] - Transfers amount of money to the brick for a service
Output - transferMoneyToClient [trust] - Transfers money from the brick to the client if trust is enough
Output - displayCurrentMoney - Displays how much money that is currently in the brick
You should have just made the commands admin/superadmin/host only.
But I won't have a use for commands like that.
auto-shops, slot machines, ect. ADMIN ONLY!), and "On player give cash" (to work with /GiveMoney).
The first two are output events and the third is an input event.
And btw... The last one wont work...
Oh, and btw, could you make a mod so it cost's $ to spawn vehicles, or do you already have that?
$RP::pref::user::startMoney
And please.. Do not type each word with a first capital letter. It annoys people.
There's no "Where can I make an add-on". It's "When can I make an add-on"...
You can't. The default preference is the only preference that starts the game with a certain amount of anything. Even admins
[code]// Bank Brick
// Brick Data
datablock fxDtsBrickData(BankBrickData : brick2x2RampPrintData)
{
category = "RP Admin";
subcategory = "Admin event bricks";
uiName = "Bank";
specialBrickType = "";
guiCmd = "Bank";
mod = &quo
@Killer2: The Bounty System does not work like the bank system. You may transfer and do whatever and the bank system will work as it should do.
(I'm saying as if the if was before the update)
I'm saying it doesn't work as well. It also says lost target
(Saying as now)
I'll be testing the Transfer to see if it work.
is it for selling/buying items in events or
dos it charge for planting bricks?
If you go to RTB Pref, you can set the brick cost. As default it is set to 0.
/GrantMoney 1000 Deathclaw
/GrantMoney 1000 14172
Both works the same way.
I've tried saying /grantmoney 1000 Alaska (my Blockland Name) and it has never worked. Am I saying it wrong?
I have the rp started, every other command appears to be working, but what is happening?
HOW THE F*** DO YOU GET DARN MONEY???
I HAVE TRIED EVERYTHING AND NOTHING HAS WORKED!!!!
TELL ME NOW
TELL ME NOW
TELL ME NOW
TELLLLLLLLL MEEEEEEEEEE
-99999999999999999999999999999999999999999/1
Example:
Player walks up to land. Player wants to buy land. Player activates land. Land asks to charge player 50$. Player accepts. Land does X.
Currently, we have:
WhenPlayerTouchesBrick Centerprint Activate this lot to buy it for 50$
OnActivate TransferMoneyToBrick "Buy Lot" 50
50 OnActivate TransferMoneyToClient Owner
OnTransferSuccess SetOwner "" Check
OnTransfe
/Weather
/Forcetick
/Grantmoney
/Setjob
Sorry, I Don't Know What To Do...
//
There are no lots in this CityRP and extensions, use baseplates
IF you want bricks to cost money go ahead and change it in the RTB prefs, max is 10 per brick.
Commands dont work? See if your prefs are set to allow admins or greater mods of authority to do RP Commands.
To grant money to yourself say /grantmoney (amount) (playername)
Leaving it blank adds it to yourself
IE=/grantmoney 10000 gary
Changing an items cost? Go into prefs and the item multiplies for its damage settings.