TextDestroyDisplay: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 3: Line 3:


==Syntax==
==Syntax==
void textDestroyDisplay ( [[textdisplay]] textdisplay )
<syntaxhighlight lang="lua">void textDestroyDisplay ( textdisplay textdisplay )</syntaxhighlight>


==Example==
==Example==
textDisplay = [[textCreateDisplay]] ();
<syntaxhighlight lang="lua">textDisplay = textCreateDisplay ()
[[textDestroyDisplay]] ( textDisplay );
textDestroyDisplay ( textDisplay )</syntaxhighlight>

Revision as of 03:12, 20 May 2006

Description

This function destroys a text display and will unlink all the text items on it. This does not stop the text items existing, but anyone who was observing the text items through this display will stop seeing them.

Syntax

void textDestroyDisplay ( textdisplay textdisplay )

Example

textDisplay = textCreateDisplay ()
textDestroyDisplay ( textDisplay )