GetDoorDimension: Difference between revisions

From Onset Developer Wiki
(Created page with "{{Info|Function|Server|1.0}} {{FuncDescription|Gets the dimension of this door.}} {{FuncSyntax|GetDoorDimension(door)}} {{FuncParameters}} {{FuncParam|door|The door identif...")
 
 
(2 intermediate revisions by one other user not shown)
Line 11: Line 11:


== Example ==
== Example ==
__EDIT_ME__
<syntaxhighlight lang="Lua">
print("Door Dimension: " .. GetDoorDimension(door))
</syntaxhighlight>


{{RelatedFunctions}}
{{RelatedFunctions}}
__EDIT_ME__
{{Template:DoorFunctions}}

Latest revision as of 14:22, 26 June 2021

GetDoorDimension

Type: Function
Context: Server
Introduced: v1.0

Description

Gets the dimension of this door.

Syntax

GetDoorDimension(door)

Parameters

  • door
    The door identifier.

Return Value

  • Returns the dimension.

Example

print("Door Dimension: " .. GetDoorDimension(door))

See also