Lua · Variables · Features
players
Player list flags and colours, and public stats (Steam, Faceit, Leetify).
Players are found by SteamID64 as text (the steamid field of a player table).
| Function | What it does |
|---|---|
players.flag(steamid[, flag]) settings | Reads a player's flag in the player list, or sets it. |
players.color(steamid[, col]) settings | Reads or sets a player's custom colour. |
players.intel(steamid) | Public stats. The first call starts loading them; it returns nil until they arrive, so call it again on later frames. |
#players.flag
players.flag(steamid[, flag])Reads a player's flag in the player list, or sets it.
Changing a value needs the settings permission (Change settings). Without it the call returns the current value and logs
needs permission: settings once. How permissions workArguments
steamidstring-
flagintegeroptional0 none, 1 priority, 2 ignore. Setting needs the settings permission.
Returns
integer
Flag after the call.
#players.color
players.color(steamid[, col])Reads or sets a player's custom colour.
Changing a value needs the settings permission (Change settings). Without it the call returns the current value and logs
needs permission: settings once. How permissions workArguments
steamidstring-
colcoloroptionalNeeds the settings permission.
Returns
integer
Colour after the call.
#players.intel
players.intel(steamid)Public stats. The first call starts loading them; it returns nil until they arrive, so call it again on later frames.
Returns
table | nil
name, country, since, vac_bans, game_bans, public, and when found faceit {nick, level, elo, kd, win_rate, matches, hs, adr} and leetify {rating, aim, utility, positioning, hs, win_rate, matches, premier}.Example
local i = players.intel(p.steamid)
if i and i.faceit then esp.add_text(p.slot, "FACEIT " .. i.faceit.level) end