User Tools

Site Tools


scripting:reference:system_functions:playerstatusfunctions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
scripting:reference:system_functions:playerstatusfunctions [2020/02/07 03:42] mitscripting: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
     }     }
 +}
 +</code>
 +</note>
 +
 +==== sysGetPlayerName====
 +^ Format | sysGetPlayerName( PlayerID )|
 +^ Description | Returns the name for a specified player ID |
 +^ Returns | Player Name |
 +//Example//: <note>
 +<code>Event( "Custom", "Special" )
 +{
 +    $name = sysGetPlayerID( $gServerKey[StoredPlayerID] )
 +    *msg %PLAYER% The player ID stored in the server key is for the player name $name
 } }
 </code> </code>
Line 75: Line 88:
 ==== sysGetPlayerListScore ==== ==== sysGetPlayerListScore ====
 ^ Format | sysGetPlayerListScore ( PlayerID )| ^ Format | sysGetPlayerListScore ( PlayerID )|
-^ Description | Returns the 'PlayerListScore' for the specified player. The PlayerListScore is a special score field that is replicated to the clients and can appear next to their name in the player list. +^ Description | Returns the 'PlayerListScore' for the specified player. The PlayerListScore is a special score field that is replicated to the clients and can appear next to their name in the player list. 
 +^ Returns | Score value |
 FIXME : Separate below into separate PlayerListScore page: FIXME : Separate below into separate PlayerListScore page:
 *settings PlayerListMode  has options to show the score on the player list.\\ *settings PlayerListMode  has options to show the score on the player list.\\
Line 84: Line 98:
 SubgameNumPlayersWithPlayerListScore( SubgameID, Score )\\ SubgameNumPlayersWithPlayerListScore( SubgameID, Score )\\
 SubgameGetPlayerWithPlayerListScore( SubgameID, Score, Index )\\ SubgameGetPlayerWithPlayerListScore( SubgameID, Score, Index )\\
-| 
-^ Returns | Score value | 
 //Example//: <note> //Example//: <note>
 <code>TBD</code> <code>TBD</code>
scripting/reference/system_functions/playerstatusfunctions.1581068558.txt.gz · Last modified: 2020/02/07 03:42 by mit

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki