TextDestroyDisplay: Difference between revisions

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


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


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

Revision as of 22:47, 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 textdisplay )

Example

textDisplay = textCreateDisplay ();
textDestroyDisplay ( textDisplay );