GetCredits (Harvest)

From OxeyeWiki

(Difference between revisions)
Jump to: navigation, search
 
(2 intermediate revisions not shown)
Line 1: Line 1:
-
{{NoParams |
+
{{HarvestNoParams |
-
harvest.getCredits()
+
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()
+
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.

Harvest Library

Example

local credits = harvest.getCredits()

Resources

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox