Skip to content

Latest commit

 

History

History
216 lines (148 loc) · 3.74 KB

File metadata and controls

216 lines (148 loc) · 3.74 KB

Cheat

ESP API

{% hint style="info" %} You can create your own ESP elements. More info can be found here. {% endhint %}

Menu API

{% hint style="info" %} You can create your menu elements. More info can be found here. {% endhint %}

Functions

RegisterCallback

Parameters:

Name Type Description
event_name string Event names
callback function Callback

{% hint style="info" %} You can view callbacks list here. {% endhint %}

Cheat.RegisterCallback("draw", function()
    Render.Text("Hello world, it's me", Vector2.new(10.0, 15.0), Color.new(1.0, 1.0, 1.0), 16)
end)

FireBullet

Simulates bullet with wall penetrating

Parameters:

Name Type Description
attacker C_BasePlayer Attacker
start Vector Simluation start pos
end Vector Simluation end pos

Return value:

Name Type
Fire Bullet Info firebullet_t
local trace = Cheat.FireBullet(player, Vector.new(0.0, 0.0, 0.0), Vector.new(1.0, 1.0, 1.0))
print(trace.damage)

AngleToForward

Parameters:

Name Type Description
ang QAngle Input angle

Return value:

Name Type Description
vec Vector Output vector
local vec = Cheat.AngleToForward(QAngle.new())

VectorToAngle

Parameters:

Name Type Description
vec Vector Input vector

Return value:

Name Type Description
ang QAngle Output angle
local ang = Cheat.VectorToAngle(Vector.new(100, 100, 100))

IsMenuVisible

Return value:

Name Type Description
value bool Is menu opened or not
local is_visible = Cheat.IsMenuVisible()

GetMousePos

Return value:

Name Type Description
value Vector2 Mouse position on screen
local mouse_pos = Cheat.GetMousePos()

IsKeyDown

Parameters:

Name Type Description
key int Virtual key code

Return value:

Name Type Description
value bool Is key down

{% hint style="info" %} You can find all virtual keys here {% endhint %}

local is_key_pressed = Cheat.IsKeyDown(0x1)

GetCheatUserName

Return value:

Name Type Description
name string Neverlose's account username
local username = Cheat.GetCheatUserName()

GetConfigName

Return value:

Name Type Description
name string Neverlose's current config name
local config = Cheat.GetConfigName()

SetThirdPersonAnim

Parameters:

Name Type Description
value bool Sets thirdperson animation
Cheat.SetThirdPersonAnim(false)

GetBinds

Return value:

Name Type Description
binds table (ActiveBinds array) Binds
local binds = Cheat.GetBinds()
print("Name", "isActive", "Value")
for i = 1, #binds do
    print(binds[i]:GetName(), binds[i]:IsActive(), binds[i]:GetValue())
end

AddEvent

Parameters:

Name Type Description
name string Event name
Cheat.AddEvent("Greetings from neverlose.cc!")

AddNotify

Parameters:

Name Type Description
title string Notification title
name string Notification name
Cheat.AddNotify("neverlose.cc", "Greetings from elleqt!")