GetPlayerAccountName: Difference between revisions
DrinkyBird (talk | contribs) (Created page with "str '''GetPlayerAccountName''' (int ''player'') *player: The player's number. Category: ACS Functions") |
DrinkyBird (talk | contribs) 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 | [[Category: ACS functions]] |
Latest revision as of 17:30, 2 July 2022
This article documents a Zandronum-specific ACS feature which may not be supported by ZDoom and its other child ports. |
str GetPlayerAccountName (int player)
Usage
Parameters
- player: The player's number.
Return value
Returns the current account name of the given player. If the player is not logged in, this will take the form of n@localhost
, where n is the player's number. Use PlayerIsLoggedIn to determine if a player is logged in.
Examples
This article lists no examples, please add one. |