TextDestroyTextItem

From Multi Theft Auto: Wiki

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