Skip to content

hookfunction

Description:

This function demonstrates the usage of the hookfunction API.

Example:

-- Hook a function
hookfunction(target_function, function()
    print("Hooked function called!")
end)