Skip to main content

CustomSeat_Client

Extends CustomSeat Description here

Functions

new

Constructor
CustomSeat_Client.new(
serverDataFolder,
seatBasePart,
getCharacterCustomSeat.GetCharacterFunc
) → CustomSeat_Client

setIsOccupantLocked

CustomSeat_Client:setIsOccupantLocked(valueboolean) → ()

Sets whether the occupant in this seat cannot jump out.

Show raw api
{
    "functions": [
        {
            "name": "new",
            "desc": "",
            "params": [
                {
                    "name": "serverData",
                    "desc": "",
                    "lua_type": "Folder"
                },
                {
                    "name": "seat",
                    "desc": "",
                    "lua_type": "BasePart"
                },
                {
                    "name": "getCharacter",
                    "desc": "",
                    "lua_type": "CustomSeat.GetCharacterFunc"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "CustomSeat_Client"
                }
            ],
            "function_type": "static",
            "tags": [
                "Constructor"
            ],
            "source": {
                "line": 34,
                "path": "src/shared/plugins/customSeat/client/CustomSeat.lua"
            }
        },
        {
            "name": "setIsOccupantLocked",
            "desc": "Sets whether the occupant in this seat cannot jump out.",
            "params": [
                {
                    "name": "value",
                    "desc": "",
                    "lua_type": "boolean"
                }
            ],
            "returns": [],
            "function_type": "method",
            "source": {
                "line": 106,
                "path": "src/shared/plugins/customSeat/client/CustomSeat.lua"
            }
        }
    ],
    "properties": [],
    "types": [],
    "name": "CustomSeat_Client",
    "desc": "Extends CustomSeat\n*Description here*",
    "source": {
        "line": 26,
        "path": "src/shared/plugins/customSeat/client/CustomSeat.lua"
    }
}