SetClientName: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 2: Line 2:


__NOTOC__  
__NOTOC__  
This fake function is for use with blah & blah and does blahblahblabhalbhl
This function sets the name of the specified client.


==Syntax==  
==Syntax==  
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
Insert syntax here             
bool setClientName ( client theClient , string name )       
</syntaxhighlight>  
</syntaxhighlight>  


===Required Arguments===  
===Required Arguments===  
*'''argumentName:''' description
*'''theClient:''' The client that will have it's name set
 
*'''name:''' The name to set for the client
===Optional Arguments===
{{OptionalArg}}
*'''argumentName2:''' descriptiona
*'''argumentName3:''' description


===Returns===
===Returns===
Returns ''true'' if blah, ''false'' otherwise.
Returns ''true'' if the client's name was changed succesfully, ''false'' if invalid arguments are specified.


==Example==  
==Example==  

Revision as of 17:55, 19 November 2006


This function sets the name of the specified client.

Syntax

bool setClientName ( client theClient , string name )         

Required Arguments

  • theClient: The client that will have it's name set
  • name: The name to set for the client

Returns

Returns true if the client's name was changed succesfully, false if invalid arguments are specified.

Example

This example does...

--This line does...
blabhalbalhb --abababa
--This line does this...
mooo

See Also

Template:FunctionArea Functions