Skip to main content

SetPriority

Sets a player’s priority status.
Info.SetPriority(Player: Player, string: Priority, boolean: Value)
Player
Player
required
The player to search for and modify.
Priority
string
required
The priority type to apply. Accepts: Priority, Whitelist, DisableEsp, None

None sets Priority and Whitelist to false. DisableEsp is unaffected by this.
Value
boolean
required

GetPriority

Returns a table of the specified player’s priority statuses if found, otherwise nil will be returned. Includes Player, Whitelist, Priority, DisableEsp
Info.GetPriority(Player: Player)
Player
Player
required
The player to search for.

GetPriorityList

Returns a table of players with their priority statuses. Includes Player, Whitelist, Priority, DisableEsp
Info.GetPriorityList()