SetPlayerLevelTrespass
The level’s own trespass areas for one player.
Over SetLevelTrespass; nil follows it again.
Syntax
Section titled “Syntax”SetPlayerLevelTrespass(pid, on)| Parameter | Type | |
|---|---|---|
pid |
number | the player |
on |
boolean|nil | true on, false off, nil the server’s |
Returns
Section titled “Returns”boolean - false when the player is not connected
Example
Section titled “Example”SetPlayerLevelTrespass(pid, false) -- a town guard walks where they pleaseSee also
Section titled “See also”SetLevelTrespass · the The map’s areas group of the index
