Editors Note: !.06 added the [Currency] arg.
|Syntax||(plyCharge player [currency] number) -> number|
|Argument List||player: The player.
[Currency]: the UNID of the currency
number: The number of credits to charge.
|Returns||number: The number of credits left.|
|Category||economy, player, cash|
|Description||Charges the player the given number of credits and returns how much the player has left.|
(plyCharge gplayer 1)
Charges 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 objCharge instead.