IsValidText3D: Difference between revisions

From Onset Developer Wiki
Created page with "{{Info|Function|Server|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|IsValidText3D(text3d)}} {{FuncParameters}} {{FuncParam|text3d|__EDIT_ME__}} {{FuncReturnValue|__E..."
 
28days (talk | contribs)
No edit summary
Line 1: Line 1:
{{Info|Function|Server|1.0}}
{{Info|Function|Server|1.0}}


{{FuncDescription|__EDIT_ME__}}
{{FuncDescription|Check if the text 3d is valid or not.}}


{{FuncSyntax|IsValidText3D(text3d)}}
{{FuncSyntax|IsValidText3D(text3d)}}


{{FuncParameters}}
{{FuncParameters}}
{{FuncParam|text3d|__EDIT_ME__}}
{{FuncParam|text3d|The text 3d identifier.}}


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


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


{{RelatedFunctions}}
{{RelatedFunctions}}
__EDIT_ME__
{{Template:Text3DFunctions}}

Revision as of 14:16, 19 November 2019

IsValidText3D

Type: Function
Context: Server
Introduced: v1.0

Description

Check if the text 3d is valid or not.

Syntax

IsValidText3D(text3d)

Parameters

  • text3d
    The text 3d identifier.

Return Value

  • Returns true on success.

Example

if IsValidText3D(text3d) then
    DestroyText3D(text3d)
end

See also