Discuss this page on this page's [[objCredit Talk Page|Talk Page]] === objCredit === See [[http://xelerus.de/index.php?s=functions&function=75|objCredit at Xelerus]] ^ 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 functions|cash]], [[spaceobject functions|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