- Documentation
- Server functions
- forcePlayerMap
Function
forcePlayerMap
Forces the map open for a player (or everyone: root).
Syntax
bool forcePlayerMap(player thePlayer, bool forceOn)Arguments
thePlayerplayer- A player or
root. forceOnbooltrueforces it.
Returns
true on success.
Example
forcePlayerMap(player, true)
Notes
State for scripts. The server stores this setting and returns it from isPlayerMapForced; the game itself does not apply it yet.