GetPlayerAccountName: Difference between revisions

no edit summary
(Created page with "str '''GetPlayerAccountName''' (int ''player'') *player: The player's number. Category: ACS Functions")
 
No edit summary
Tag: Source edit
 
Line 1: Line 1:
{{ACSWarning}}
str '''GetPlayerAccountName''' (int ''player'')
str '''GetPlayerAccountName''' (int ''player'')


*player: The player's number.
== Usage ==
=== Parameters ===
* ''player'': The player's number.
 
=== Return value ===
Returns the current [[Accounts|account]] name of the given player. If the player is not logged in, this will take the form of <code>''n''@localhost</code>, where ''n'' is the player's number. Use [[PlayerIsLoggedIn]] to determine if a player is logged in.
 
== Examples ==
{{noexamples}}
 
== See also ==
* [[PlayerIsLoggedIn]]
* [[Accounts]]
* [[Database]]


[[Category: ACS Functions]]
[[Category: ACS functions]]