Editors Note: 1.06 added the [Currency] arg
|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.|
|Description||Credits the player the given number of credits and returns how much the player has left.|
(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
says to use objCredit instead.