TextDestroyTextItem: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
[[Category:Incomplete]]
__NOTOC__
 
{{Server function}}
__NOTOC__
This function destroys a [[textitem]] object.
This fake function is for use with blah & blah and does blahblahblabhalbhl


==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}}

Latest revision as of 18:14, 15 August 2007

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