textDestroyTextItem | Multi Theft Auto: Wiki Skip to content

textDestroyTextItem

Client-side
Server-side
Shared

Manual Review Required

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 ( textitem theTextitem )
Required Arguments
  • theTextitem: The text item you wish to destroy.

Code Examples

shared

This example creates then destroys atextitem.

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