Neverlose
  • Welcome
  • Official Website
  • Useful information
    • 📲Quick start
    • â›Šī¸Common knowledge
    • 🧠Examples
      • âš™ī¸Materials
      • âš™ī¸Color
      • âš™ī¸Vector
      • âš™ī¸ESP
      • âš™ī¸ConVars
      • âš™ī¸UI
  • Documentation
    • 📓Events
    • âš™ī¸Variables
      • 🌎_G
      • đŸ—„ī¸bit
      • 🌈color
      • ⌚common
      • 🎲cvar
      • 💾db
      • 👾entity
      • 👩‍đŸ’ģesp
      • đŸ—ŗī¸events
      • 📂files
      • 📎globals
      • 🔓json
      • ✨materials
      • đŸ”ĸmath
      • đŸ’ģui
      • â˜ī¸network
      • 🌃panorama
      • đŸ’ĸrage
      • 🎨render
      • 🧰utils
      • 📍vector
Powered by GitBook
On this page
  • Example available!
  • Class names
  • Functions:
  • :new_text
  • :new_bar
  • :new_item
  1. Documentation
  2. Variables

esp

PreviousentityNextevents

Last updated 1 year ago

Example available!

Class names

Available ESP classes: enemy, team, self

Functions:

:new_text

esp.esp_class:new_text(name: string, preview: string, callback: function): ESPGroup

Name
Type
Description

name

string

ESP element picker text

preview

string

ESP preview text

callback

function

Function that will be called for each entity while drawing the ESP

Registers ESP text to the specified class. The callback function is called every frame. It is passed an entity pointer. Return a string in order to manage the output.

:new_bar

esp.esp_class:new_bar(name: string, callback: function): ESPGroup

Name
Type
Description

name

string

ESP element picker text

callback

function

Function that will be called for each entity while drawing the ESP

Registers an ESP bar to the specified class. The callback function is called every frame. Access the entity pointer using the arguments of the specified callback. Return a boolean followed by the number in the range [0.0, 1.0].

:new_item

esp.esp_class:new_item(name: string): ESPGroup

Name
Type
Description

name

string

ESP element picker text

Registers an ESP item that is neither text nor a bar.

🔗 struct ESPGroup

Name
Type
Description

get

function

Returns the value of the item.

set

function

Sets the value of the item.

name

function

Returns the name of the item. If the argument is present, the name is set to the new value.

create

function

Attaches a to the current item.

âš™ī¸
👩‍đŸ’ģ
âš™ī¸ESP
group