Difference between revisions of "API GetPlayerName"

From Vendetta Lua
Jump to: navigation, search
(split)
 
(GetPlayerName)
 
Line 1: Line 1:
 
=== GetPlayerName ===
 
=== GetPlayerName ===
 
'''Definition:'''
 
'''Definition:'''
GetPlayerName(int charid) -> string name
+
GetPlayerName([int charid]) -> string name
 
<br>
 
<br>
 
'''Description:'''<br>
 
'''Description:'''<br>
Line 8: Line 8:
 
'''Arguments:'''<br>
 
'''Arguments:'''<br>
 
''charid'' character id
 
''charid'' character id
 +
 +
if charid is not passed in, the function returns the player name of the user.
 +
 
<br>
 
<br>
 
'''Returns:'''<br>
 
'''Returns:'''<br>
 
''name''
 
''name''
 
<br>
 
<br>

Latest revision as of 04:10, 30 June 2009

GetPlayerName

Definition: GetPlayerName([int charid]) -> string name
Description:
get name of character
Arguments:
charid character id

if charid is not passed in, the function returns the player name of the user.


Returns:
name