๐ŸŽฎPlayerInfoCallbackData

Encapsulates all of the player ESP interface, allowing for user modifications.

entry

FieldRead only

Type: EntityEntry_t

Player entry, same as when iterating through entities via EntityList_t:ForEach .

circle-info

You can check if you're rendering on the ESP preview by accessing the isPreview field in PlayerEntryVisualsData.

events.playerInfoPre:Add(function(data)
    if data.entry.visuals.isPreview then
        ...
    end
end)

layer

Field

Type: Layer

ESP rendering layer, in case you wanna draw custom elements.


AddText

Method

Adds a new ESP label.

Arguments

Name

Type

Description

position

EspItemPos

The anchor point

color

The text color

text

string

The label

useAltFont

boolean?

Whether or not to use the alternative font, defaults to false .

Returns

Nothing.

Example


AddIcon

Method

Adds a new ESP icon/texture.

Arguments

Name

Type

Description

position

EspItemPos

The anchor point

color

The icon color

texture

The texture

offset

The rendering offset, in pixels from the top left corner. Defaults to nil.

height

number?

The height override, doesn't scale the texture.

Returns

Nothing.

Example


AddBar

Method

Adds a new ESP bar.

Arguments

Name

Type

Description

position

EspItemPos

The anchor point

mainColor

The first color

secondaryColor

The second color

fraction

number

The fill fraction, from 0 to 1.

value

number?

The display value, defaults to nil .

glowColor

The glow color, defaults to nil .

Returns

Nothing.

Example

Last updated