Fixed compat a little, prosthesis still missing

This commit is contained in:
Pao
2023-01-18 10:11:14 +01:00
parent 2a2b6ef978
commit 38b219c700
6 changed files with 239 additions and 162 deletions

View File

@@ -112,19 +112,19 @@ Commands["CanResetEverything"] = function(arg)
arg["command"] = "ResponseCanAct"
arg["toSend"] = {part_name, "Cut", true}
sendClientCommand("TOC", "SendServer", arg)
--ResetEverything()
--TocResetEverything()
end
Commands["ResetEverything"] = function(arg)
local arg = arg["toSend"]
ResetEverything()
TocResetEverything()
end
-- Cheating stuff
Commands["AcceptResetEverything"] = function(arg)
local clicked_player = getPlayerByOnlineID(arg[1]) -- TODO delete this
ResetEverything()
TocResetEverything()
end