withdraw()
From Hack Wars Wiki
| Function information for withdraw() | |
| Function | withdraw(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. |
Example
As used in the basic bank script:
string ip = getSourceIP(); float amount = getAmount(); withdraw(ip, amount); |
