modding:function:objgetbalance
Discuss this page on this pages TalkPage
objGetBalance
| Syntax | (objGetBalance spaceObject) |
|---|---|
| Arguments | spaceObject: The space object that you want to get the amount of credits from. |
| Returns | number: The amount of credits that the space object has. |
| Category | cash, spaceobject |
| Description | Returns the amount of credits the space object has. |
Example
(objGetBalance gsource)
Returns the amount of credits that the caller has. Return to Functions list
modding/function/objgetbalance.txt · Last modified: by 127.0.0.1
