Skip to content

getFunds

McDiod edited this page Sep 8, 2020 · 2 revisions

grad_moneymenu_fnc_getFunds

Gets the funds of a unit. Unit does not have to be local.

Syntax

[account, getBankAccount] call grad_lbm_fnc_getFunds

Parameter Explanation
account Object or Side - The unit or side whose funds to get.
getBankAccount (optional) Bool - Use true to get the amount in the unit's bank account instead of his wallet.

Example

_soldier1Funds = [soldier1] call grad_lbm_fnc_getFunds;