Editors Note: 1.06 added the [Currency] arg
Functions Documentation | |
Name | plyCredit |
Syntax | (plyCredit player [currency] number) -> number |
Argument List | player: The player. [Currency]: the UNID of the currency number: The number of credits to credit. |
Returns | number: The number of credits left. |
Category | cash, player |
Description | Credits the player the given number of credits and returns how much the player has left. |
Example |
(plyCredit gplayer 1) Credits the player one credit and returns how many credits the player has left. |
Comment | Basic credit manipulation function. The 1.06 thread http://neurohack.com/transcendence/forums/viewtopic.php?f=15&t=4292 says to use objCredit instead. |