modding:function:objcredit
Discuss this page on this page's Talk Page
objCredit
Syntax | (objCredit obj amount) → new balance |
---|---|
Arguments | obj: The spaceObject that you want to give credits too. |
amount: The amount of credits you want to give. | |
Returns | integer: The new balance of the spaceObject you added credits to |
Category | cash, spaceObject |
Description | Gives credits to the the obj. |
Example
(objCredit gSource 200)
Gives 200 credits from whatever gSource is bound too.
Return to Functions list
modding/function/objcredit.txt · Last modified: 2014/12/27 04:40 by 127.0.0.1