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 |
||
(One intermediate revision by one other user not shown) | |||
Line 11: | Line 11: | ||
== Example == | == Example == | ||
<syntaxhighlight lang="Lua"> | |||
function GetDoorCount() | |||
print(GetDoorCount()) | |||
end | |||
</syntaxhighlight> | |||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
* [[CreateDoor]] | |||
* [[DestroyDoor]] |
Latest revision as of 16:02, 17 November 2019
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