ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Server functions
  3. getPlayerAnnounceValue

Function

getPlayerAnnounceValue

ServerPlayersIdentical to MTA:SA

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")))

See also