Events

Events are a way to execute your lua code when something happens in game.

onRenderGame

This is called on the game layer, where ESP elements are drawn. This will only draw while you are in game.

function onRenderGame()
end

onRenderOverlay

This 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()
end

onRenderUI

This 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()
end

onTickActor

This 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)
end

onJoinSession

This is called when you join a session.

function onJoinSession()
end

onQuitSession

This is called when you quit a session.

function onQuitSession()
end

Coming Soon / Planned

Event Name
Description

onRemoteFunction

Called when an RPC is sent to the server.

Last updated