Skip to main content

LuaEvents.InvokeForMaster(string eventName, [optionalArguments] optional_arguments)

Invokes the event which is specified in eventName for master client and the sender.

Parameters:

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

Usage

---@type string
local eventName;

---@type [optionalArguments]
local optional_arguments;


LuaEvents:InvokeForMaster(eventName, optional_arguments)