- Documentation
- Server functions
- 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))