TextItemGetPriority: 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]]
{{Server function}}
 
{{Needs_Checking|Does this retrieve a string or an integer? --[[User:Talidan2|Talidan2]] 08:55, 29 August 2007 (CDT)}}
__NOTOC__
__NOTOC__
{{Server function}}
This function retrieves the priority of a text item.  Priority defines the rate at whihc a text item is updated
This fake function is for use with blah & blah and does blahblahblabhalbhl


==Syntax==  
==Syntax==  
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
int textItemGetPriority ( textitem textitem )               
string textItemGetPriority ( textitem textitemToCheck )               
</syntaxhighlight>  
</syntaxhighlight>  


===Required Arguments===  
===Required Arguments===  
*'''argumentName:''' description
*'''textitemToCheck:''' The text item you wish to retrieve the priority of.
 
===Optional Arguments===
{{OptionalArg}}
*'''argumentName2:''' descriptiona
*'''argumentName3:''' description


===Returns===
===Returns===
Returns ''true'' if blah, ''false'' otherwise.
Returns a string of the priority of a text item, either "high", "medium" or "low" respective of its priority.


==Example==  
==Example==  
This example does...
This page does not have an example.
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
--This line does...
--add an example here
blabhalbalhb --abababa
--This line does this...
mooo
</syntaxhighlight>
</syntaxhighlight>


==See Also==
==See Also==
{{FunctionArea_Functions}}
{{Text_functions}}
[[Category:Needs_Example]]

Revision as of 13:55, 29 August 2007

Dialog-information.png This article needs checking.

Reason(s): Does this retrieve a string or an integer? --Talidan2 08:55, 29 August 2007 (CDT)

This function retrieves the priority of a text item. Priority defines the rate at whihc a text item is updated

Syntax

string textItemGetPriority ( textitem textitemToCheck )              

Required Arguments

  • textitemToCheck: The text item you wish to retrieve the priority of.

Returns

Returns a string of the priority of a text item, either "high", "medium" or "low" respective of its priority.

Example

This page does not have an example.

--add an example here

See Also