Steam Avatar
You aren't signed in

RP Money

13 KB, 14 years ago, submitted by McTwist

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

Demian
Bleh?! No admin commands like "/grantmoney" or "/deductmoney"?
McTwist
Of course! Do you even know how abusive those commands are?
Will Smith
Are you KIDDING ME? Make them superadmin only or bl_id equal to host bl_id! 1/5 Im gunna disect this RP stuff and completely redo it.
McTwist
There is no super-command that gives you a lot of money. I could add it later, but for host only.
Blocklulz
*facepalm*
You should have just made the commands admin/superadmin/host only.

But I won't have a use for commands like that.
Demian
Actually now that I think of it, you should not add any money granting commands, maybe for host only if you have to. Because I remember being in your server and having billions of money, playing was pretty much pointless, because I could buy anything I wanted.
Zloff
Does it include events?
McTwist
Give me some example of what events that could suit this mod...
Zloff
Events like "If player cash", (unless that already works with variables), "Player cash add" (for making

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.
McTwist
I intend to make it work with variables if more is interested. Although, the problem is that I need to fix so people cannot steal others, and add admin only attributes...

And btw... The last one wont work...
Zloff
Yea I thought it wouldn't, but it would be very useful.

Oh, and btw, could you make a mod so it cost's $ to spawn vehicles, or do you already have that?
McTwist
Not yet, but I think that there's someone that would make it. DarkLight made it for items. Ask him to make it for vehicles...
Tojehusiza
Can you add a command that allows admins to grant money?
McTwist
No... You do one yourself...
FooFoo
umm yeah. Is there server preferances that sets how much money the player start with?
McTwist
Yes.

$RP::pref::user::startMoney
Coupon
how can you make it so that you can't spawn items, and you can buy stuff?
McTwist
Download DarkLights Item cost.
Colonial Killer
Hey Mctwist How Would I Make It Only Let Admins Start Out With A Certain Amount Of Money And Regular People With Less?
McTwist
Not possible in the current version. You have to change the money amount manually, or wait for the next version to come out. I wont add two different amount of money for each player.

And please.. Do not type each word with a first capital letter. It annoys people.
bigmstdog
were do u make addons
McTwist
RTB Wiki

There's no "Where can I make an add-on". It's "When can I make an add-on"...
Killer2
How do you access brickcost?
Colonial Killer
How do i change the amount manually only foradmins... i know how to for everyone but not just for admins?
McTwist
Brickcost is a variable. Although, if you don't know how to change variables, then you better wait for next version, where I will implement RTB prefs.
Killer2
Ok then, I'll wait for the next version. But the transfer option on the Bank brick does not work. Any reason why?

You can't. The default preference is the only preference that starts the game with a certain amount of anything. Even admins
I'm trying to make a bank brick called bank (t) so then you touch it it will work like a bank how can i do that?
McTwist
Go to RP Admin tab in Brick menu and get the Bank brick form there. Then plant it and click to it open the Bank menu.
Me knows that, i'm trying to make a new bank brick so when you touch it it shows the bank text like on city RPG but i what to call it bank (t) That is a 2x4f i don't know what to change in this so it will work
[code]// Bank Brick

// Brick Data
datablock fxDtsBrickData(BankBrickData : brick2x2RampPrintData)
{
category = "RP Admin";
subcategory = "Admin event bricks";

uiName = "Bank";

specialBrickType = "";

guiCmd = "Bank";
mod = &quo
Killer2
Does the transfer option on the Bank Brick have the same bugs as the Bounty system?
McTwist
@Fang: Why do you want to go use CityRP functionality? This is not CityRP!

@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.
HotDogMan12
5/5
Killer2
@McTwist

(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.
McTwist
I am bad to write down bugs, and it's hard to find where they were written, so I might have forgot some bugs, but they might be fixed later if they still exist.
fred da kiko
can you get money by killing a bot or zombie?
McTwist
Not yet.
Alan227
what would you use money for?
is it for selling/buying items in events or
dos it charge for planting bricks?
McTwist
Money can be used in various ways. Currently there's 3 ways, but there will be 4 later on.

If you go to RTB Pref, you can set the brick cost. As default it is set to 0.
luigiferguson
can i make it so in my nazi zombies it costs 100 to unlock upstairs etc
3 Admin Server 3
Hey Someone Help Me IDK How to MAke It So I Can Sell Resources If You Cant Then How Do You Sell Other Stuff Such as Items But If Not =] It Doesnt Matter But Please Somebody Get Back To Me =D
JboyDiaz
This is fking stupid, now that i installed the money, i cant spawn anything! even when the rp is off, it says "Cant afford to spawn item" and im getting fuking pissed, somone help.
JboyDiaz
i fixed my prob :D dont worry
Cashman Bling
just delete it fck ass
johnny blockhead
hi what how mutch mony can you have up to ???
McTwist
How much a signed integer have. also, it's mostly below one million because how Torque handle numbers. Although, I think it can handle more than that.
Deathclaw
Can u give me an example of the grant money command coz im not sure if im doing it right. thanks
McTwist
You need to set the advanced commands to Host, SuperAdmin or Admin to make it works.
/GrantMoney 1000 Deathclaw
/GrantMoney 1000 14172
Both works the same way.
ARMORD RAPTER
@johny blockhead It's Much. Not mutch and it's not Mony it's Money and you don't make a space when you Put a ? mark. Dumb ass. you ARE a blockhead
GothOpera
Uhh, how do you change the name of Currency? It can do that right?
McTwist
Yes. If you have RTB it can be changed through the preferences. If not, then you need to change it manually in config/server/RP_Core/prefs.cs.
Simplicity21
Dear McTwist,

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?
Simplicity21
DEAR MCTWIST [URGENT]

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
Simplicity21
I AM READY TO KILL THIS ADDON I THOUGHT IT MIGHT ACTUALLY WORK BUT YET ANOTHER DISSAPOINTMENT
-99999999999999999999999999999999999999999/1
McTwist
You seriously couldn't wait until I saw your message? Patient young one. Even though, you appear to have some other mod blocking it. Try disabling money mods and try again.
blocula
How do i change an item's cost?
Giovan
I have a suggestion. Include, with brick events, asking the player for money, and having events for declining and accepting, like in citycRaP.

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
linkforever755
i cant use it its hard
agent pie3434
can superadmins add mneyto themselfs? or... how d you get mone... ima read more...
Pie Crust
Can't find the lots. How are players supposed to build?
LegoFig
All these RP mods Are too hard to use. Make them easyer More compatable with new people
BlockMag
Most Of My Commands Don't Work - Example -
/Weather
/Forcetick
/Grantmoney
/Setjob
Sorry, I Don't Know What To Do...
DerrickJMitchell
Is this the wrong addons set? Im sure the McTwist ones are the ones the server i go to use, only deference is theres Lot bricks, and players cant build without 1, and there is also officer,and ciminal spawns, and, there is Grantmoney comand. am i looking at the wrong addon or was that all removed in a update?
Sgt_Gary
Hope this Helps...

//

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.

c4539
im using this instead of the minigame score :p
c4539
lol useless
jay4150
I dont get pays even when using the basic jobs, Why??
Crazy0ManMan
Is there a way to make it so when you activate a brick it sets off an event only if you have enough money to pay for it? Also can this be used with bot events to make it so when you kill a bot it will give the player money?
Montak
what does /*: m mean its the same for every one