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
scripting:reference:system_functions:playerstatusfunctions [2020/02/07 03:43] – [sysGetPlayerListScore] 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>
scripting/reference/system_functions/playerstatusfunctions.1581068582.txt.gz · Last modified: 2020/02/07 03:43 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