GetDoorCount: Difference between revisions

From Onset Developer Wiki
(Created page with "{{Info|Function|Server & Client|1.0}} {{FuncDescription|Returns the number of doors.}} {{FuncSyntax|GetDoorCount()}} {{FuncParameters}} {{FuncNoParam}} {{FuncReturnValue|R...")
 
No edit summary
Line 11: Line 11:


== Example ==
== Example ==
__EDIT_ME__
<syntaxhighlight lang="Lua">
function GetDoorCount()
    print(GetDoorCount())
end
</syntaxhighlight>
 


{{RelatedFunctions}}
{{RelatedFunctions}}
__EDIT_ME__
__EDIT_ME__

Revision as of 18:18, 13 November 2019

GetDoorCount

Type: Function
Context: Server & Client
Introduced: v1.0

Description

Returns the number of doors.

Syntax

GetDoorCount()

Parameters

  • This function has no parameters.

Return Value

  • Returns the number of doors.

Example

function GetDoorCount()
    print(GetDoorCount())
end


See also

__EDIT_ME__