SetClientName: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
__NOTOC__ | __NOTOC__ | ||
This | This function sets the name of the specified client. | ||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
bool setClientName ( client theClient , string name ) | |||
</syntaxhighlight> | </syntaxhighlight> | ||
===Required Arguments=== | ===Required Arguments=== | ||
*''' | *'''theClient:''' The client that will have it's name set | ||
*'''name:''' The name to set for the client | |||
*''' | |||
===Returns=== | ===Returns=== | ||
Returns ''true'' if | 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