Skip to content

GetPlayerXPRate

The XP rate that applies to a player.

GetPlayerXPRate(pid)
Parameter Type
pid number the player

number - the player’s own rate, else the server-wide one; 0 for a player not connected

SendClientMessage(pid, COLOR_WHITE, string.format("Your XP rate is %g.", GetPlayerXPRate(pid)))

SetPlayerXPRate · GetXPRate · the Stats, skills, XP and perks group of the index