Events
Events are a way to execute your lua code when something happens in game.
onRenderGame
onRenderGameThis is called on the game layer, where ESP elements are drawn. This will only draw while you are in game.
function onRenderGame()
endonRenderOverlay
onRenderOverlayThis is called on the overlay layer where the player-list and minimap is drawn. Use this if you're going to creator similar dragable windows.
function onRenderOverlay()
endonRenderUI
onRenderUIThis is called on the UI layer and is suggested you only draw on here for UI or anything that should not be behind the gradient effect. It's also only visible when the UI is open and may be affected by animation effects, etc.
function onRenderUI()
endonTickActor
onTickActorThis is called on every actor, every frame, for every actor type that has been subscribed to. NOTE: This is also drawn on the game layer just like onRenderGame.
function onTickActor(actor)
endonJoinSession
onJoinSessionThis is called when you join a session.
function onJoinSession()
endonQuitSession
onQuitSessionThis is called when you quit a session.
function onQuitSession()
endComing Soon / Planned
onRemoteFunction
Called when an RPC is sent to the server.
Last updated