Room.FindPlayerByNetworkID(number NetworkID)
Looks for the player in room with specific network id.
Parameters:
Name | Type | Description |
---|---|---|
NetworkID | number | Network ID of player. |
Returns:
type | Description |
---|---|
MLPlayer | The player if found, Nil otherwise. |
Usage
---@type number
local NetworkID;
local val0 = Room:FindPlayerByNetworkID(NetworkID)