Vault / Economy vault/withdraw

Withdraw

Withdraws money from a player's economy account.

Note: Use the Has Money node before withdrawing to avoid overdraft.

Inputs

NameTypeOptionalDescription
exec exec Incoming execution.
player player Player to withdraw from.
amount number Amount to withdraw.

Outputs

NameTypeDescription
exec exec Continues after withdrawal.
success boolean True if the withdrawal succeeded (i.e. player had enough funds).

Properties

KeyTypeDefaultDescription
amount number 100 Amount