TextDestroyTextItem: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
[[Category:Incomplete]]
__NOTOC__  
__NOTOC__  
This fake function is for use with blah & blah and does blahblahblabhalbhl
This function destroys a [[textitem]] object.


==Syntax==  
==Syntax==  
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
void textDestroyTextItem ( textitem textitem )             
void textDestroyTextItem ( textitem theTextitem )             
</syntaxhighlight>  
</syntaxhighlight>  


===Required Arguments===  
===Required Arguments===  
*'''argumentName:''' description
*'''theTextitem:''' The text item you wish to destroy.
 
===Optional Arguments===
{{OptionalArg}}
*'''argumentName2:''' descriptiona
*'''argumentName3:''' description
 
===Returns===
Returns ''true'' if blah, ''false'' otherwise.


==Example==  
==Example==  
This example does...
This example creates then destroys a [[textitem]].
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
--This line does...
-- Create a new text item
blabhalbalhb --abababa
text = textCreateTextItem ( "Hello, world!" )
--This line does this...
-- Destroy it
mooo
textDestroyTextItem ( text )
</syntaxhighlight>
</syntaxhighlight>


==See Also==
==See Also==
{{FunctionArea_Functions}}
{{Text_functions}}

Revision as of 14:00, 25 May 2006

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