AddCredits (Harvest)
From OxeyeWiki
harvest.addCredits(amount) | ||
Modifies the player's credit count by 'amount'. The value can be negative, which means that money will be removed from the player's count. | ||
Parameter | Expected Type | Description |
amount | An integer | The amount of credits to add (or subtract). |
Returns | ||
Returns nothing. |
Example
harvest.addCredits(1)