- Documentation
- Server functions
- getPlayerAnnounceValue
Function
getPlayerAnnounceValue
Returns a value announced for the player (e.g. in the server list).
Syntax
string getPlayerAnnounceValue(player thePlayer, string key)Arguments
thePlayerplayer- The player.
keystring- The key.
Returns
The value or false.
Example
outputServerLog(tostring(getPlayerAnnounceValue(player, "score")))