CreateWebUI: Difference between revisions
From Onset Developer Wiki
No edit summary |
No edit summary |
||
Line 17: | Line 17: | ||
== Example == | == Example == | ||
<syntaxHighlight lang="lua"> | <syntaxHighlight lang="lua"> | ||
local web = CreateWebUI(0, 0, 1000, 800, 0, 16) | |||
local web = CreateWebUI(0, 0, | |||
</syntaxHighlight> | </syntaxHighlight> | ||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
{{WebFunctions}} | {{WebFunctions}} |
Revision as of 17:27, 19 December 2019
Description
Creates a new WebUI
Syntax
CreateWebUI(x, y, width, height [, zOrder, frameRate])
Parameters
- x
screen pixel x - y
screen pixel y - width
pixel width - height
pixel height - zOrder (optional)
order in which the webui's are rendered - frameRate (optional)
rendering rate (default: 16)
Return Value
- web (number)
Example
local web = CreateWebUI(0, 0, 1000, 800, 0, 16)