syringehook

Functions for managing hooks, allowing you to add, remove, and handle callbacks for various events, including key presses.

All available hooks.

Name
Return type
Return args

render

void

void

init_custom_entity

void

void

init

void

void

esp_drawextra

void

instance

aimbot_check

bool

instance

ignore_plr

bool

instance

esp_ignore

bool

instance

esp_name

string

instance

aimbot_ignore

bool

instance

triggerbot_ignore

bool

instance

triggerbot_shouldfire

bool

instance

silent_ignore

bool

instance

append_watermark

string

void

player_added

void

instance

player_removing

void

instance

  • All of the return args with instance will be returning the player, Not the character.

hook add(name, id, function) -> void

Adds a hook with a callback.

Name
Type
Description

name

string

Name of the hook, see above.

id

string

Id of the hook.

function

function

Function to be called when hook is called.

hook remove(name, id) -> bool

Removes the specific hook.

Name
Type
Description

name

string

Name of the hook, see above.

id

string

Id of the hook.

hook removeall() -> void

Removes all hooks that are active.

hook addkey(key, id, function -> toggle)-> void

Adds a hook on a key and will trigger the callback when pressed, takes VK Codes. https://learn.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codesarrow-up-right

Name
Type
Description

key

number

The virtual key code. Example: 0x41 = A Key.

function

function

Callback function.

id

string

Id of the hook.

hook removekey(key, id)-> bool

Removes the key hook.

Name
Type
Description

key

number

VK Key number.

id

string

Id of the hook.

Last updated