RestrictedAreaMarker

Controls the game's trespassing warning. It hides only the warning, so the game's AI still reacts. A client resource can hide the same element by itself with Hud.setHudPart('Trespassing').

restrictedAreaMarker.enabled

enabled

Whether the warning shows. True by default.

restrictedAreaMarker.setEnabled()

RestrictedAreaMarker.setEnabled(enabled)

Shows or hides the warning for all players.