[General] Add /regions command to display loaded regions & authorities

Additionally, clean up guiIds.
This commit is contained in:
David Cernat
2018-08-27 22:13:31 +03:00
parent 88d7f47799
commit 2ab7ec43df
4 changed files with 91 additions and 31 deletions
+3
View File
@@ -179,6 +179,9 @@ function commandHandler.ProcessCommand(pid, cmd)
elseif cmd[1] == "cells" and moderator then
GUI.ShowCellList(pid)
elseif cmd[1] == "regions" and moderator then
GUI.ShowRegionList(pid)
elseif (cmd[1] == "teleport" or cmd[1] == "tp") and moderator then
if cmd[2] ~= "all" then
logicHandler.TeleportToPlayer(pid, cmd[2], pid)