- Documentation
- Server functions
- isPlayerMapEnabled
Function
isPlayerMapEnabled
Checks whether the player can open the map.
Syntax
bool isPlayerMapEnabled(player thePlayer)Arguments
thePlayerplayer- The player.
Returns
true if allowed.
Example
outputServerLog(tostring(isPlayerMapEnabled(player)))