Skip to main content

client.register_esp_flag

info

Refer to client.register_esp_flag example for how to use this function.

client.register_esp_flag

Requires "Flags" in Player ESP to be enabled.

client.register_esp_flag(flag: string, r: number, g: number, b: number, callback)

Arguments

NameDescriptionType
flagString of text that will be shown when callback returns truestring
rRed color component (0 to 255)number
gGreen color component (0 to 255)number
bBlue color component (0 to 255)number
callbackFunction that will be called for each entity when esp is drawn. If you return true here, the flag will be shown. You can optionally return a 2nd value to override the text that is drawn.function