Discuss this page on this page's Talk Page

plyGetItemStat

See plyGetItemStat at Xelerus

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.

Stats

The following item stat identifiers are defined:

Example

(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