Withdraw()

From ElectronicWar

Jump to: navigation, search
Function information for withdraw()
Function withdraw()
Parameters message(string ip, float amount)
API Banking
Cost $10
Level 1
CPU Usage 1
Description Withdraws the specified amount in the form of a float into the petty cash of the player represented by the IP provided in the form of a string.


[edit] Example

As used in the basic bank script:

float ip = getSourceIP();
float amount = getAmount();
withdraw(ip, amount);
Personal tools