LuaEvents.InvokeForMasterOnly(string eventName, [optionalArguments] optional_arguments)
Invokes the event which is specified in eventName
for master client , excluding the sender.
Parameters:
Name | Type | Description |
---|---|---|
eventName | string | The 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:InvokeForMasterOnly(eventName, optional_arguments)