OnPlayerReconnect||doc136862

September 20, 2022

Format

local event = Event:GetEvent("OnPlayerReconnect")

Describe

This event is fired when the player reconnects.

Callback function parameters

Type Name introduce
Entity player Reconnected player entity

Code example

local event = Event:GetEvent("OnPlayerReconnect")
event:Bind(function(player)
    print("OnPlayerReconnect", player)
end)