Fixed other stuff, now everything should work. Code is a mess though

This commit is contained in:
Pao
2023-01-12 17:33:05 +01:00
parent 76c6f2f6db
commit 2c81cc1d04
2 changed files with 37 additions and 20 deletions

View File

@@ -16,6 +16,9 @@ local function OnTocServerCommand(module, command, args)
-- todo maybe we cant send a table like this. Let's try something easier
--local moneyAmount = playerTwo:getInventory():getCountTypeRecurse("Money")
print("Giving info")
-- not fast enough, wont get toc_data in time. FInd a better way to send and get data
sendClientCommand(patient, "TOC", "SendPlayerData", {surgeon_id, toc_data})
elseif command == 'SendTocData' then