FindPlayerByActorNumber
7/14/25Less than 1 minute
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)
