TextDestroyTextItem

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

This function destroys a textitem object.

Syntax

void textDestroyTextItem ( textitem theTextitem )             

Required Arguments

  • theTextitem: The text item you wish to destroy.

Example

This example creates then destroys a textitem.

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

See Also