DestroyText3D: Difference between revisions

From Onset Developer Wiki
Line 12: Line 12:
== Example ==
== Example ==
<syntaxhighlight lang="Lua">
<syntaxhighlight lang="Lua">
if IsValidText(text) then
if IsValidText(text3d) then
     DestroyText3D(text)
     DestroyText3D(text3d)
end
end
</syntaxhighlight>
</syntaxhighlight>

Revision as of 19:08, 27 May 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