GetCredits (Harvest)
From OxeyeWiki
(Difference between revisions)
Line 4: | Line 4: | ||
Returns the amount of credits that the player currently owns. | Returns the amount of credits that the player currently owns. | ||
| | | | ||
- | Returns the number of credits.}} | + | Returns the number of credits. Data type is Number. |
+ | }} | ||
=== Example === | === Example === | ||
<pre> | <pre> | ||
- | + | local credits = harvest.getCredits() | |
</pre> | </pre> | ||
+ | |||
+ | === Resources === | ||
+ | *[http://www.oxeyegames.com/forum/viewtopic.php?p=1523#p1523 Oxeye Game Studio Forum - Harvest Functions] |
Revision as of 19:04, 2 December 2009
harvest.getCredits() | ||
Returns the amount of credits that the player currently owns. | ||
Returns | ||
Returns the number of credits. Data type is Number. |
Example
local credits = harvest.getCredits()