RegisterCommand('f2fix', function(source, args, raw)
closeInventory()
end)
function closeInventory()
TriggerScreenblurFadeOut() --f2 kapatınca arkadaki blur gitmesi/bugta kalmaması için gerekli kod(kapatmak için yorum satırına al)
isInInventory = false
SendNUIMessage(
{
action = "hide"
}
)
SetNuiFocus(false, false)
end