Skip to content

Api > Room > FindPlayerByActorNumber()


Room.FindPlayerByActorNumber(number ActorID)⚓︎

Looks for the player in room with specific actor id.

Parameters:⚓︎

Name Type Description
ActorID number ActorID of the player.

Returns:⚓︎

type Description
MLPlayer The player if found, Nil otherwise.

Usage⚓︎

---@type number
local ActorID;


local val0 = Room:FindPlayerByActorNumber(ActorID)