1
0
Fork 0
forked from Simnation/Main

Create plugin_inv_client.lua

This commit is contained in:
Miho931 2025-06-26 00:04:16 +02:00
parent c6d0b58860
commit cc683e9e76

View file

@ -0,0 +1,14 @@
Citizen.CreateThread(function()
while true do
Citizen.Wait(0)
local isUnconscious = exports['visn_are']:isPlayerUnconscious()
if isUnconscious then
exports['qs-inventory']:setBusyState(true)
end
if exports['qs-inventory']:IsPlayerBusy(PlayerPedId()) then
exports['qs-inventory']:setBusyState(false)
end
end
end)