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.
Syntax
Section titled “Syntax”SetPlayerTrespass(pid, level)| Parameter | Type | |
|---|---|---|
pid |
number | the player |
level |
string|nil | the trespass level, or nil |
Returns
Section titled “Returns”boolean - true; false and the reason
Example
Section titled “Example”SetPlayerTrespass(pid, "prohibited")See also
Section titled “See also”SetPlayerAreaTrespass · GetPlayerTrespass · the The map’s areas group of the index
