openclonk/docs/sdk/script/fn/GetPlayerName.xml

31 lines
1023 B
XML

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!DOCTYPE funcs
SYSTEM '../../../clonk.dtd'>
<?xml-stylesheet type="text/xsl" href="../../../clonk.xsl"?>
<funcs>
<func>
<title>GetPlayerName</title>
<category>Player</category>
<version>5.1 OC</version>
<syntax>
<rtype>string</rtype>
<params>
<param>
<type>int</type>
<name>player</name>
<desc>Number of the player whose name to get.</desc>
</param>
</params>
</syntax>
<desc>Returns the name of a player. If the specified player number is invalid, <code>nil</code> is returned. Thus this function can also be used to determine whether a player of a given number exists.</desc>
<related>
<funclink>GetTaggedPlayerName</funclink>
<funclink>GetPlayerByName</funclink>
<funclink>GetPlayerCount</funclink>
<funclink>GetName</funclink>
<funclink>GetOwner</funclink>
</related>
</func>
<author>Sven2</author><date>2002-08</date>
</funcs>