GetPlayerStates
A player’s bag as a table.
Syntax
Section titled “Syntax”GetPlayerStates([pid])| Parameter | Type | |
|---|---|---|
pid |
number | the player; nil = yourself (optional) |
Returns
Section titled “Returns”table - {key = value}, empty when the player has no bag
Example
Section titled “Example”local mine = GetPlayerStates()See also
Section titled “See also”GetPlayerState · the State bags group of the index
