AddCredits (Harvest)

From OxeyeWiki

Revision as of 19:05, 2 December 2009 by 166 MMX (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

addCredits(amount)

Modifies the player's credit count by 'amount'. The value can be negative, which means that money will be removed from the player's count.

Parameter Expected Type Description
amount Number The amount of credits to add (or subtract).
Returns

Returns nothing.

Harvest Library

Example

harvest.addCredits(1)

Resources

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox