scripting:reference:system_functions:playerstatusfunctions
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
scripting:reference:system_functions:playerstatusfunctions [2020/02/07 03:37] – mit | scripting:reference:system_functions:playerstatusfunctions [2023/04/15 14:00] (current) – mit | ||
---|---|---|---|
Line 21: | Line 21: | ||
*msg %PLAYER% Bob's player ID is $playerID | *msg %PLAYER% Bob's player ID is $playerID | ||
} | } | ||
+ | } | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | ==== sysGetPlayerName==== | ||
+ | ^ Format | sysGetPlayerName( PlayerID )| | ||
+ | ^ Description | Returns the name for a specified player ID | | ||
+ | ^ Returns | Player Name | | ||
+ | // | ||
+ | < | ||
+ | { | ||
+ | $name = sysGetPlayerID( $gServerKey[StoredPlayerID] ) | ||
+ | *msg %PLAYER% The player ID stored in the server key is for the player name $name | ||
} | } | ||
</ | </ | ||
Line 70: | Line 83: | ||
^ Description | Access the list of top players generated using sysGenerateTopPlayerVarsList. List_Index starts at 0, so '' | ^ Description | Access the list of top players generated using sysGenerateTopPlayerVarsList. List_Index starts at 0, so '' | ||
^ Returns | PlayerID | | ^ Returns | PlayerID | | ||
- | TBD // | + | // |
// | // | ||
==== sysGetPlayerListScore ==== | ==== sysGetPlayerListScore ==== | ||
+ | ^ Format | sysGetPlayerListScore ( PlayerID )| | ||
+ | ^ Description | Returns the ' | ||
+ | ^ Returns | Score value | | ||
+ | FIXME : Separate below into separate PlayerListScore page: | ||
+ | *settings PlayerListMode | ||
+ | commands *incplayerlistscore, | ||
+ | Related Subgame functions: | ||
+ | SubgameActivatePlayerListScores( SubgameID, Mode )\\ | ||
+ | SubgameGetHighestPlayerListScore( SubgameID )\\ | ||
+ | SubgameNumPlayersWithPlayerListScore( SubgameID, Score )\\ | ||
+ | SubgameGetPlayerWithPlayerListScore( SubgameID, Score, Index )\\ | ||
+ | // | ||
+ | < | ||
+ | </ | ||
TBD // | TBD // | ||
// | // |
scripting/reference/system_functions/playerstatusfunctions.1581068225.txt.gz · Last modified: 2020/02/07 03:37 by mit