TextDestroyTextItem

From Multi Theft Auto: Wiki
Jump to navigation Jump to search

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