TextDestroyDisplay: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
Line 7: Line 7:
==Example==
==Example==
  textDisplay = [[textCreateDisplay]] ();
  textDisplay = [[textCreateDisplay]] ();
  textDestroyDisplay ( textDisplay );
  [[textDestroyDisplay]] ( textDisplay );

Revision as of 22:11, 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 );