textDestroyDisplay | Multi Theft Auto: Wiki Skip to content

textDestroyDisplay

Client-side
Server-side
Shared

This page is incomplete! Help wanted!

Please finish this page using the corresponding Old Wiki article.
Go to Contribution guidelines for more information.


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

textDestroyDisplay ( )

Code Examples

server

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

myDisplay = textCreateDisplay ()
textDestroyDisplay ( myDisplay )