DestroyText3D: Difference between revisions

From Onset Developer Wiki
(Created page with "{{Info|Function|Server|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|DestroyText3D(text3d)}} {{FuncParameters}} {{FuncParam|text3d|__EDIT_ME__}} {{FuncReturnValue|__E...")
 
No edit summary
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Info|Function|Server|1.0}}
{{Info|Function|Server|1.0}}


{{FuncDescription|__EDIT_ME__}}
{{FuncDescription|Destroys the specified 3D text label.}}


{{FuncSyntax|DestroyText3D(text3d)}}
{{FuncSyntax|DestroyText3D(text3d)}}


{{FuncParameters}}
{{FuncParameters}}
{{FuncParam|text3d|__EDIT_ME__}}
{{FuncParam|text3d|The 3D text label identifier}}


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|Returns '''true''' on success.}}


== Example ==
== Example ==
__EDIT_ME__
<syntaxhighlight lang="Lua">
if IsValidText(text3d) then
    DestroyText3D(text3d)
end
</syntaxhighlight>


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

Latest revision as of 14:03, 10 November 2021

DestroyText3D

Type: Function
Context: Server
Introduced: v1.0

Description

Destroys the specified 3D text label.

Syntax

DestroyText3D(text3d)

Parameters

  • text3d
    The 3D text label identifier

Return Value

  • Returns true on success.

Example

if IsValidText(text3d) then
    DestroyText3D(text3d)
end

See also