- Documentation
- Server functions
- isPlayerMapVisible
Function
isPlayerMapVisible
Checks whether the player has the map open right now.
Syntax
bool isPlayerMapVisible(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
isPlayerMapVisible()Returns
true if open.
Example
if isPlayerMapVisible(player) then
outputChatBox("Zamknij mapę, żeby kontynuować.", player)
end