textDestroyTextItem | Multi Theft Auto: Wiki Skip to content

textDestroyTextItem

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 textitem object.

Syntax

textDestroyTextItem ( )

Code Examples

server

This example creates then destroys atextitem.

-- Create a new text item
text = textCreateTextItem ( "Hello, world!" )
-- Destroy it
textDestroyTextItem ( text )