GetCredits (Harvest)
From OxeyeWiki
(Difference between revisions)
(Created page with '{{HarvestMethod | harvest.getCredits() | Returns the amount of credits that the player currently owns. | | Returns the number of credits.}} === Example === <pre> harvest.addCr...') |
(→Example) |
||
| Line 8: | Line 8: | ||
=== Example === | === Example === | ||
<pre> | <pre> | ||
| - | harvest. | + | local credits = harvest.getCredits() |
</pre> | </pre> | ||
Revision as of 15:52, 20 May 2009
|
harvest.getCredits() | ||
|
Returns the amount of credits that the player currently owns. | ||
| Parameter | Expected Type | Description |
| Returns | ||
|
Returns the number of credits. | ||
Example
local credits = harvest.getCredits()