Skip to content

SetPlayerTrespass

One player’s trespass level wherever they stand.

Over every area and the level’s own - a prisoner shown the red icon, an event’s guests shown nothing. nil hands it back to the areas.

SetPlayerTrespass(pid, level)
Parameter Type
pid number the player
level string|nil the trespass level, or nil

boolean - true; false and the reason

SetPlayerTrespass(pid, "prohibited")

SetPlayerAreaTrespass · GetPlayerTrespass · the The map’s areas group of the index