GetAccountName: 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]]
[[Category:Need Syntax]]
__NOTOC__  
__NOTOC__  
This function is for blahblah.. not defined yet
This function retrieves the name of an account.


==Syntax==  
==Syntax==  
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
INSERT SYNTAX HERE             
string getAccountName ( account theAccount )
</syntaxhighlight>  
</syntaxhighlight>  


===Required Arguments===  
===Required Arguments===  
*'''argumentName:''' description
*'''theAccount:''' The account you wish to get the name of
 
===Optional Arguments===
{{OptionalArg}}
*'''argumentName2:''' descriptiona
*'''argumentName3:''' description


===Returns===
===Returns===
Returns ''true'' if blah, ''false'' otherwise.
Returns a string containing the account's name, ''false'' if the account does not exist or an invalid argument was passed to the function.


==Example==  
==Example==  
This example does...
 
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
--This line does...
 
blabhalbalhb --abababa
--This line does this...
mooo
</syntaxhighlight>
</syntaxhighlight>


==See Also==
==See Also==
{{FunctionArea_Functions}}
{{Account_functions}}
[[Category:Needs Example]]

Revision as of 11:46, 12 September 2006

This function retrieves the name of an account.

Syntax

string getAccountName ( account theAccount )

Required Arguments

  • theAccount: The account you wish to get the name of

Returns

Returns a string containing the account's name, false if the account does not exist or an invalid argument was passed to the function.

Example


See Also