Game (functions)/Money
From PMDOWiki
GetPlayerMoney
Returns the amount of money the player currently has on hand.
Returns
The amount of money.
AddToPlayerMoney
Adds money to the player's wallet. Argument order is GAME:AddToPlayerMoney(toAdd).
Arguments
| Name | Type | Technical Type | Purpose |
|---|---|---|---|
| toAdd | Integer | System.Int32
|
The amount of money to add. |
RemoveFromPlayerMoney
Removes money from the player's wallet. Argument order is GAME:RemoveFromPlayerMoney(toRemove).
Arguments
| Name | Type | Technical Type | Purpose |
|---|---|---|---|
| toRemove | Integer | System.Int32
|
Removes money from the player's wallet. |
GetPlayerMoneyBank
Returns the amount of money in the player's bank
AddToPlayerMoneyBank
Adds money to the player's bank. Argument order is GAME:AddToPlayerMoneyBank(toAdd).
Arguments
| Name | Type | Technical Type | Purpose |
|---|---|---|---|
| toAdd | Integer | System.Int32
|
The amount of money to add. |
RemoveFromPlayerMoneyBank
Removes money from the player's bank. Argument order is GAME:RemoveFromPlayerMoneyBank(toRemove).
Arguments
| Name | Type | Technical Type | Purpose |
|---|---|---|---|
| toRemove | Integer | System.Int32
|
The amount of money to remove. |
