Discuss this page on this page's [[plyCredit Talk Page|Talk Page]] === plyCredit === See [[http://xelerus.de/index.php?s=functions&function=138|plyCredit at Xelerus]] ^ Syntax | (plyCredit player credit) -> total | ^ Arguments | player: The player. (See [[Globals#DockScreens|gPlayer]]) | ^ | credit: The number of credits to credit. | ^ Returns | total: The number of credits the player now has. | ^ Category | [[cash functions|cash]], [[player functions|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 now has. Return to [[:Functions]] list