Returns the amount of xp for the specified stat. If stats were not transmitted yet, returns -1.
Id of the stat to query.
Amount of XP in the specified stat.
osrs.printf("%s stat XP: %d", "Strength", osrs.ClientState.getStatXP(2)) Copy
osrs.printf("%s stat XP: %d", "Strength", osrs.ClientState.getStatXP(2))
Returns the amount of xp for the specified stat. If stats were not transmitted yet, returns -1.