mirror of
https://github.com/jimathy/jim_bridge.git
synced 2026-08-16 21:46:03 +01:00
Fix qbox getPlayer hunger and thirst calls
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -171,7 +171,7 @@ function stopTempCam(renderTime)
|
||||
|
||||
clearLoadLocation()
|
||||
|
||||
Wait(renderTime or 0)
|
||||
Wait(renderTime or 500)
|
||||
for i = 1, #camCache do
|
||||
DestroyCam(camCache[i], true)
|
||||
end
|
||||
|
||||
@@ -221,7 +221,7 @@ local billPlayerFunc = {
|
||||
function(data)
|
||||
TriggerEvent("codem-billing:client:OpenMenu")
|
||||
end,
|
||||
tgg =
|
||||
tgg =
|
||||
function(data)
|
||||
exports["tgg-billing"]:OpenBillingMenu()
|
||||
end,
|
||||
@@ -727,8 +727,8 @@ local getPlayerFunc = {
|
||||
isDead = info.PlayerData.metadata["isdead"],
|
||||
isDown = info.PlayerData.metadata["inlaststand"],
|
||||
charInfo = info.charinfo,
|
||||
hunger = info.metadata["hunger"],
|
||||
thirst = info.metadata["thirst"],
|
||||
hunger = info.PlayerData.metadata["hunger"],
|
||||
thirst = info.PlayerData.metadata["thirst"],
|
||||
}
|
||||
return Player
|
||||
end,
|
||||
|
||||
Reference in New Issue
Block a user