DestroyWebUI
From Onset Developer Wiki
Description
Destroy a web UI made with CreateWebUI.
Syntax
DestroyWebUI(web)
Parameters
- web
The web identifier.
Return Value
- This function returs nothing.
Example
scoreboard = 0
AddEvent("OnPackageStart", function()
scoreboard = CreateWebUI(0.0, 0.0, 0.0, 0.0, 5, 10)
end)
AddEvent("OnPackageStop", function()
DestroyWebUI(scoreboard)
end)