Skip to main content

LuaEvents.Invoke(string evnetName, [optionalArguments] optional_arguments)

Invokes the event which is specified in eventName. You can pass any amount of arguments.

Parameters:

NameTypeDescription
evnetNamestringThe name of the event to invoke.
optional_arguments[optionalArguments]You can pass any amount, type of arguments.

Usage

---@type string
local evnetName;

---@type [optionalArguments]
local optional_arguments;


LuaEvents:Invoke(evnetName, optional_arguments)