Skip to main content

MLStation.GetPlayer()

Gets the MLPlayer object of current station occupant. Returns null if the station is empty.

Returns:

typeDescription
MLPlayerCurrent player

Usage

---@type MLStation
local mlstation;


local val0 = mlstation.GetPlayer()