Fix qbox getPlayer hunger and thirst calls

This commit is contained in:
Jim Shield
2025-10-23 13:19:04 +01:00
parent 9ec7bddfe6
commit a9403e5513
3 changed files with 6 additions and 6 deletions

View File

@@ -420,7 +420,7 @@ function makeItem(origData)
for k, v in pairs(data.craft[data.item]) do
if isInventoryOpen() then
print("^1Error^7: ^2Inventory is open, you tried to break things")
stopCam(0)
stopCam(100)
ClearPedTasks(Ped)
if canReturn then craftingMenu(origData) end
CraftLock = false
@@ -524,7 +524,7 @@ function makeItem(origData)
end
--Wait(500)
stopCam(0)
stopCam(100)
CraftLock = false
if canReturn then craftingMenu(origData) end
ClearPedTasks(Ped)