Skip to main content

Room.FindPlayerByNetworkID(number NetworkID)

Looks for the player in room with specific network id.

Parameters:

NameTypeDescription
NetworkIDnumberNetwork ID of player.

Returns:

typeDescription
MLPlayerThe player if found, Nil otherwise.

Usage

---@type number
local NetworkID;


local val0 = Room:FindPlayerByNetworkID(NetworkID)