SetDoorDimension

From Onset Developer Wiki
Revision as of 18:44, 30 August 2020 by BlueMountains (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
SetDoorDimension

Type: Function
Context: Server
Introduced: v1.0

Description

Sets the dimension of this door. Players can only see doors in the same dimension.

  • Default dimension: 0
  • Maximum dimension: 4294967295

Syntax

SetDoorDimension(door, dimension)

Parameters

  • vehicle
    The door identifier.
  • dimension
    The new dimension to set.

Return Value

  • Returns true.

Example

SetDoorDimension(doorId, 1)

See also