GetDoorModel

From Onset Developer Wiki
Revision as of 13:08, 25 November 2019 by 28days (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
GetDoorModel

Type: Function
Context: Server
Introduced: v1.0

Description

Gets the model of a door. It's the same number that was passed to CreateDoor.

Syntax

GetDoorModel(door)

Parameters

  • door
    The door identifier.

Return Value

  • Returns the model of a door.

Example

local modelId = GetDoorModel(doorId)

See also