player_esp_context_t
player esp context can only be retrieved via the PLAYER_ESP callback in all examples below ctx is the player esp context
Fields
Field | Description |
---|---|
| player entity that is being rendered right now |
| alpha multiplier of the esp (range 0···1) |
| whether new information about this player isnt being networked right now |
| world coordinates of the player |
| 2d coordinates of the esp bbox |
| 2d size of the esp bbox |
| team mode of this player; 1 = enemy, 0 = friendly |
Functions
add_flag
adds a flag to the right side of the player if no color is supplied, it will use the default flags color
Example
set_font
overrides the main font for this player
Example
set_small_font
overrides the small font for this player (e.g. used for flags)
Example
Last updated