TextDestroyDisplay: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
{{Needs_Checking|Shouldnt this return a bool? --[[User:Talidan2|Talidan2]] 05:41, 14 July 2007 (CDT)}}
__NOTOC__
__NOTOC__
This function destroys a text display and will unlink all the [[textitem]]s on it. This does not stop the textitems existing, but anyone who was observing the textitems through this display will stop seeing them.
This function destroys a text display and will unlink all the [[textitem]]s on it. This does not stop the textitems existing, but anyone who was observing the textitems through this display will stop seeing them.

Revision as of 10:41, 14 July 2007

Dialog-information.png This article needs checking.

Reason(s): Shouldnt this return a bool? --Talidan2 05:41, 14 July 2007 (CDT)


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

Syntax

void textDestroyDisplay ( textdisplay display )

Required Arguments

  • display: This is the textdisplay that you wish to have destroyed.

Example

This example creates a display then destroys it again straight away.

myDisplay = textCreateDisplay ()
textDestroyDisplay ( myDisplay )

See Also