[Help] About the esx_inventory_trunk

I clicked my config of open trunk button when there is no car. Then, I try to open trunk in behind then car. Its not working…

local count = 0

– Key controls
Citizen.CreateThread(
function()
while true do
Wait(0)
if IsControlJustReleased(0, Config.OpenKey) and (GetGameTimer() - GUI.Time) > 1000 then
if count == 0 then
openmenuvehicle()
count = count +1
Wait(1000)
else
Wait(2000)
count = 0
end
end
end
end
)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.