GetCredits (Harvest)

From OxeyeWiki

(Difference between revisions)
Jump to: navigation, search
(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.addCredits(1)
+
   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.

Harvest Library

Example

   local credits = harvest.getCredits()
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox