LuaEvents.InvokeForOthers(string evnetName, [optionalArguments] optional_arguments)
Invokes the event which is specified in eventName for all players in the session joined to the world excluding the sender.
Parameters:
Name | Type | Description |
---|---|---|
evnetName | string | The 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:InvokeForOthers(evnetName, optional_arguments)