GetPlayerMapLayers
The map layers a player sees otherwise than everyone.
Syntax
Section titled “Syntax”GetPlayerMapLayers(pid)| Parameter | Type | |
|---|---|---|
pid |
number | the player |
Returns
Section titled “Returns”table - {[layer] = on, ...}
Example
Section titled “Example”for layer, on in pairs(GetPlayerMapLayers(pid)) do Log(layer .. (on and " shown" or " hidden")) endSee also
Section titled “See also”SetPlayerMapLayer · the The server’s map group of the index
