GetCredits (Harvest)
From OxeyeWiki
(Difference between revisions)
(2 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
- | {{ | + | {{HarvestNoParams | |
- | + | getCredits() | |
| | | | ||
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] |
Latest revision as of 20:06, 2 December 2009
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()