GetPlayerSkill
The level of record of a skill.
Syntax
Section titled “Syntax”GetPlayerSkill(pid, skill)| Parameter | Type | |
|---|---|---|
pid |
number | the player |
skill |
string | the skill’s name |
Returns
Section titled “Returns”number - the level the server set; 0 = never set
Example
Section titled “Example”Log(GetPlayerName(pid), "marksmanship", GetPlayerSkill(pid, "marksmanship"))See also
Section titled “See also”SetPlayerSkill · GetPlayerStat · the Vitals, stats and skills group of the index
