Lua Events/OnConnectFailed
Event
OnConnectFailed
Description
Triggered when the connection to the server has failed.
Parameters
- String The error message describing the reason for the connection failure.
Examples
local function OnConnectFailed(error) -- Your code here end Events.OnConnectFailed.Add(OnConnectFailed)