IsPlayerMapVisible: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(New page: __NOTOC__ {{Server client function}} This function checks if the specified player has the map visible. ==Syntax== <syntaxhighlight lang="lua">bool isPlayerMapVisible ( player thePlayer )</syntaxhighlight> ===...)
 
(Not a client/server function)
Line 1: Line 1:
__NOTOC__
__NOTOC__
{{Server client function}}
{{Client function}}
This function checks if the specified [[player]] has the map visible.
This function checks if the local player has their map showing


==Syntax==
==Syntax==
<syntaxhighlight lang="lua">bool isPlayerMapVisible ( player thePlayer )</syntaxhighlight>
<syntaxhighlight lang="lua">bool isPlayerMapVisible ()</syntaxhighlight>
 
===Required Arguments===
* '''thePlayer''': A [[player]] element to check if the map is visible


===Returns===
===Returns===

Revision as of 12:01, 15 January 2009