TextDestroyDisplay: Difference between revisions

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


==Syntax==
==Syntax==
textDestroyDisplay ( [[textdisplay]] )
void textDestroyDisplay ( [[textdisplay]] )


==Example==
==Example==
  textDisplay = [[textCreateDisplay]] ();
  textDisplay = [[textCreateDisplay]] ();
  textDestroyDisplay ( textDisplay );
  textDestroyDisplay ( textDisplay );

Revision as of 22:10, 24 March 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 )

Example

textDisplay = textCreateDisplay ();
textDestroyDisplay ( textDisplay );