You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dont have target enabled in the server config, but for someresone qb-shops wont open, error:
qb-shops client > Main > 34, no such export keypressed in resource qb-core
local function listenForControl()
if listen then return end
CreateThread(function()
listen = true
while listen do
if IsControlJustPressed(0, 38) then -- E
exports['qb-core']:KeyPressed()
TriggerServerEvent('qb-shops:server:openShop', { shop = currentShop })
listen = false
break
end
Wait(0)
end
end)
end
Expected behavior
..
Actual behavior
..
Additional context
..
Last Updated
latest version fresh install qb server
Custom Resources
n/a
Resource Rename
no
The text was updated successfully, but these errors were encountered:
local listen = false
local currentShop = {} -- Ensure this is properly defined elsewhere
local function listenForControl()
if listen then return end
CreateThread(function()
listen = true
while listen do
if IsControlJustPressed(0, 38) then -- E key
exports['qb-core']:KeyPressed()
TriggerServerEvent('qb-shops:server:openShop', currentShop)
listen = false
break
end
Wait(0)
end
end)
end
Summary
cant open the shop with key E
Reproduction
dont have target enabled in the server config, but for someresone qb-shops wont open, error:
qb-shops client > Main > 34, no such export keypressed in resource qb-core
local function listenForControl()
if listen then return end
CreateThread(function()
listen = true
while listen do
if IsControlJustPressed(0, 38) then -- E
exports['qb-core']:KeyPressed()
TriggerServerEvent('qb-shops:server:openShop', { shop = currentShop })
listen = false
break
end
Wait(0)
end
end)
end
Expected behavior
..
Actual behavior
..
Additional context
..
Last Updated
latest version fresh install qb server
Custom Resources
n/a
Resource Rename
no
The text was updated successfully, but these errors were encountered: