- Documentation
- Server functions
- setPlayerMapOpacity
Function
setPlayerMapOpacity
Stores the player's map opacity (0-255).
Syntax
bool setPlayerMapOpacity(player thePlayer, int opacity)Arguments
thePlayerplayer- The player.
opacityint- Opacity 0-255.
Returns
true on success.
Example
setPlayerMapOpacity(player, 200)
Notes
State for scripts. The server stores the value and returns it from getPlayerMapOpacity; the game map does not apply it yet.