Warning: Callbacks must not return anything other than nil.
Doing so can crash your game or corrupt arguments for future callbacks.
Called every frame for drawing.
EspBuilder)Called for every ESP entity with ESP builder as argument.
DrawModelContext)Called before model is drawn, e.g. player or weapon model.
DrawModelContext)Called before the ghost model of the local player is drawn.
DrawModelContext)Called before the backtrack model players is drawn.
UserCmd)Called every input update, allows to modify viewangles, sendpacket, etc.
GameEvent)Called for selected game events using client.AllowListener.
UserMessage)Called on every user message received from server.
StringCmd)Called when console command is sent to server (e.g. say hello global chat).
Entity?)Called when legitbot or ragebot switches target (target can be nil if the legitbot/ragebot stops targetting that entity).
Called when the lua is unloaded, use this for cleaning variables up or saving configurations (e.g. Socket.Close).
Note: This is not called if the game crashes or exits.