Neverlose
  • List of all methods
  • Methods
    • CGlobalVarsBase
    • CUserCmd
    • C_BaseEntity
    • C_BasePlayer
    • Cheat
    • CheatVar
    • CheatVars
    • Color
    • ConVar
    • Config
    • Globals
    • ICvar
    • IEngineClient
    • IEntityList
    • IGameEvent
    • IMaterial
    • IMaterialSystem
    • INetChannelInfo
    • IRender
    • Panorama
    • QAngle
    • Utils
    • Vector
    • Vector2
    • trace_t
Powered by GitBook
On this page
  • void RegisterCallback(string event_name, function callback);
  • void EspText(string classname, function callback);
  • CheatVar Checkbox(string name);
  • CheatVar SliderFloat(string name, float min, float max);
  1. Methods

Cheat

PreviousC_BasePlayerNextCheatVar

Last updated 5 years ago

void RegisterCallback(string event_name, function callback);

Registering callbacks. Possible event names:

draw - game thread, allows you do draw any primitives and has safe access to any game functions. 0 arguments passed to callack.

createmove - createmove after cheat prediction. 1 argument passed to callback -

prediction - createmove inside cheat prediction. 1 argument passed to callback -

events - . pointer passed.

destroy - called when script destroyed. 0 arguments passed to callack.

void EspText(string classname, function callback);

Registering esp(+ esp preview) callbacks. Possible class names:

player

weapon

c4 or bomb

loot

CheatVar Checkbox(string name);

Registers UI switch element for current lua.

CheatVar SliderFloat(string name, float min, float max);

Registers UI slider(float) element for current lua.

C_UserCmd
C_UserCmd
game events
IGameEvent