Skip to content

GetPlayerSkill

The level of a skill, as the server last heard or set it.

What the player’s game last reported, or what the mode last set - and, where the progression check acts under [audit] mode = "enforce", never more than the server can explain. 0 means the server does not know it: the player’s game has not reported yet, or the name is no skill.

GetPlayerSkill(pid, skill)
Parameter Type
pid number the player
skill string the skill’s name

number - 0 .. 30; 0 = not known (not reported yet, a stat’s name, or a player not connected)

Log(GetPlayerName(pid), "marksmanship", GetPlayerSkill(pid, "marksmanship"))

SetPlayerSkill · GetPlayerSkillXP · GetPlayerStat · GetPlayerProgress · the Stats, skills, XP and perks group of the index