Skip to content

GetPlayerEditor

What a player’s open map editor may do.

GetPlayerEditor(pid)
Parameter Type
pid number the player

table - {place, changeOthers, delete, removeLevel, layers, areas, maxObjects, layer}; nil when their editor is closed

if GetPlayerEditor(pid) then SetPlayerEditor(pid, nil) end

SetPlayerEditor · the The server’s map group of the index