GetPlayerEditor
What a player’s open map editor may do.
Syntax
Section titled “Syntax”GetPlayerEditor(pid)| Parameter | Type | |
|---|---|---|
pid |
number | the player |
Returns
Section titled “Returns”table - {place, changeOthers, delete, removeLevel, layers, areas, maxObjects, layer}; nil when their editor is closed
Example
Section titled “Example”if GetPlayerEditor(pid) then SetPlayerEditor(pid, nil) endSee also
Section titled “See also”SetPlayerEditor · the The server’s map group of the index
