SetDoorDimension: Difference between revisions

From Onset Developer Wiki
No edit summary
No edit summary
Line 14: Line 14:


== Example ==
== Example ==
__EDIT_ME__
<syntaxhighlight lang="Lua">
SetDoorDimension(doorId, 1)
</syntaxhighlight>


{{RelatedFunctions}}
{{RelatedFunctions}}
* [[CreateDoor]]
{{Template:DoorFunctions}}
* [[DestroyDoor]]
* [[SetDoorOpen]]
* [[IsDoorOpen]]
* [[GetAllDoors]]
* [[GetDoorCount]]
* [[GetDoorModel]]
* [[SetDoorLocation]]
* [[GetDoorLocation]]
* [[SetDoorDimension]]
* [[GetDoorDimension]]

Revision as of 13:09, 25 November 2019

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

  • __EDIT_ME__

Example

SetDoorDimension(doorId, 1)

See also