Skip to main content

SeatUtils

Functions

getPlayerOccupants

SeatUtils.getPlayerOccupants(seats{Seat}) → {Player}

Gets seat player occupants for all seats

Show raw api
{
    "functions": [
        {
            "name": "getPlayerOccupants",
            "desc": "Gets seat player occupants for all seats",
            "params": [
                {
                    "name": "seats",
                    "desc": "",
                    "lua_type": "{ Seat }"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "{ Player }"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 17,
                "path": "src/seatutils/src/Shared/SeatUtils.lua"
            }
        }
    ],
    "properties": [],
    "types": [],
    "name": "SeatUtils",
    "desc": "",
    "source": {
        "line": 4,
        "path": "src/seatutils/src/Shared/SeatUtils.lua"
    }
}