Editors Note: 1.06 added the [Currency] arg.
Functions Documentation | |
Name | plyGetCredits |
Syntax | (plyGetCredits player [currency]) -> number |
Argument List | player: The player. [Currency]: the UNID of the currency |
Returns | number: The number of credits that the player has. |
Category | player, cash, economy |
Description | Returns the amount of credits the player has. |
Example |
(plyGetCredits gplayer) Returns the amount of credits the player has. |
Comment | Basic credit function for the player, most useful for comparison. The 1.06 thread http://neurohack.com/transcendence/forums/viewtopic.php?f=15&t=4292 says to use objGetCredits instead. |