Fixed some errors from the last refactor

This commit is contained in:
Pao
2023-02-03 14:39:46 +01:00
parent c19a586110
commit d8805cc6e2
7 changed files with 69 additions and 79 deletions

View File

@@ -44,12 +44,12 @@ function SendEquipProsthesis(player, part_name, prosthesis_base_name)
sendClientCommand("TOC", "SendServer", arg)
end
function SendUnequipProsthesis(player, part_name)
function SendUnequipProsthesis(player, part_name, item)
local arg = {}
arg["From"] = getPlayer():getOnlineID()
arg["To"] = player:getOnlineID()
arg["command"] = "UnequipProsthesis"
arg["toSend"] = { player, part_name}
arg["toSend"] = { player, part_name, item}
sendClientCommand("TOC", "SendServer", arg)
end