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

Function

getPlayerMapOpacity

Returns the player's map opacity (0-255).

Syntax

int getPlayerMapOpacity(player thePlayer)

Arguments

thePlayerplayer
The player.Not in MTA:SA

Differences from MTA:SA

  • Arguments in a different colour differ from MTA:SA.

In MTA:SA

getPlayerMapOpacity()

Returns

Opacity.

Example

outputServerLog(getPlayerMapOpacity(player))

See also