User Tools

Site Tools


modding:function:objgetbalance

Discuss this page on this pages TalkPage

objGetBalance

See objGetBalance at Xelerus

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: 2014/12/27 04:40 by 127.0.0.1