GetSavedData
A value the mode saved on the player’s name.
Syntax
Section titled “Syntax”GetSavedData(pid, key)| Parameter | Type | |
|---|---|---|
pid |
number | the player |
key |
string | the key |
Returns
Section titled “Returns”string | nil
Example
Section titled “Example”local wins = tonumber(GetSavedData(pid, "wins")) or 0See also
Section titled “See also”SetSavedData · GetSavedPlayer · the Storage and persistence group of the index
