Discuss this page on this page's Talk Page
Syntax | (plyGetItemStat player stat criteria) → value |
---|---|
Arguments | player: The player. (See gPlayer) |
stat: An identifier naming the stat to obtain (see below). | |
criteria: An item criteria specifying the set of items for which to return the stat. | |
Returns | value: The value of the stat. |
Category | player |
Description | Returns the value of an item stat. |
The following item stat identifiers are defined:
(plyGetItemStat gplayer 'itemsSoldValue "* +Meds;")
Returns the total value of all meds that the player has sold so far in the game.
Return to Functions list