User Tools

Site Tools


modding:function:plycredit

Discuss this page on this page's Talk Page

plyCredit

See plyCredit at Xelerus

Syntax (plyCredit player credit) → total
Arguments player: The player. (See gPlayer)
credit: The number of credits to credit.
Returns total: The number of credits the player now has.
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 now has.

Return to Functions list

modding/function/plycredit.txt · Last modified: 2014/12/27 04:40 by 127.0.0.1