GetAllText3D: Difference between revisions
From Onset Developer Wiki
No edit summary |
FlyingFork (talk | contribs) |
||
Line 11: | Line 11: | ||
== Example == | == Example == | ||
<syntaxhighlight lang="Lua"> | |||
function destroyAll3DTexts() | |||
for index, text in ipairs(GetAllText3D()) do | |||
DestroyText3D(text) | |||
end | |||
end | |||
</syntaxhighlight> | |||
{{RelatedFunctions}} | {{RelatedFunctions}} |
Revision as of 19:46, 27 May 2021
Description
Get all text 3D on the server. Useful for loops.
Syntax
GetAllText3D()
Parameters
- This function has no parameters.
Return Value
- Returns a table of all text 3D.
Example
function destroyAll3DTexts()
for index, text in ipairs(GetAllText3D()) do
DestroyText3D(text)
end
end