Skip to main content

Room.FindPlayerByActorNumber(number ActorID)

Looks for the player in room with specific actor id.

Parameters:

NameTypeDescription
ActorIDnumberActorID of the player.

Returns:

typeDescription
MLPlayerThe player if found, Nil otherwise.

Usage

---@type number
local ActorID;


local val0 = Room:FindPlayerByActorNumber(ActorID)