OnText3DDestroyed: Difference between revisions
From Onset Developer Wiki
(Created page with "{{Info|Event|Server|1.2.2}} {{FuncDescription|Event called when a text3d instance was destroyed through DestroyText3D.}} {{FuncSyntax|OnText3DDestroyed(text3d)}} {{Func...") |
(No difference)
|
Latest revision as of 20:45, 31 August 2020
Description
Event called when a text3d instance was destroyed through DestroyText3D.
Syntax
OnText3DDestroyed(text3d)
Parameters
- text3d
The text3d which was destroyed.
Example
function OnText3DDestroyed(text3d)
print("Text3D "..text3d.." was destroyed")
end
AddEvent("OnText3DDestroyed", OnText3DDestroyed)