Can anyone help me with a little problem i have? Its i cant load the pictures :S Set them to 200x200 png but they wont load in-game. I changed the water bottle. The standard works fine but the one i wanna use does not load
Hi, im just curious for shops that are not owned, can people buy from there until it is? I’d love to have this script but dont have the man power for people to own shops right now
i have a problem. When i go to my owned shpo and want go to order products the menu dissapier and i got this error. Can someone pls help me i need to fix it fast.
Hello i got a LIL problem if i press “Get all your shipments” then nothing happens and my database looks like this.
ESX.TriggerServerCallback('esx_kr_shop:getTime', function(time)
ESX.TriggerServerCallback('esx_kr_shop:getAllShipments', function(items)
local once = true
local once2 = true
for i=1, #items, 1 do
if time - items[i].time >= Config.DeliveryTime and once2 then
table.insert(elements, {label = '--READY SHIPMENTS--'})
table.insert(elements, {label = 'Get all your shipments', value = 'pickup'})
once2 = false
end
ESX.UI.Menu.Open(
'default', GetCurrentResourceName(), 'allshipments',
{
title = 'Shop',
align = 'left',
elements = elements
},
function(data, menu)
if data.current.value == 'pickup' then
TriggerServerEvent('esx_kr_shops:GetAllItems', id)
end
end,
function(data, menu)
menu.close()
end)
end, id)
end)
end
Something I noticed, if you goto sell an item and put the amount then the price as nothing. Server Console says ER_BAD_NULL_ERROR: Column ‘price’ cannot be null.
The item is lost, it does not put it in the store or back in your inventory. Other than that, the script runs perfectly for me.
I have installed this into my server however when i enter the green marker in my shop and hit button E to open shop it also brings up the inventory menu aswell amd causes me to freeze cos i cant close or exit the inventory script.
I cam continue to do stuff in my boss menu lile shipments etc however cant move and can’t close esxinventoryhud.
If i webt into any ammunation first qnd stand in the marker there then go to my shop its fine and doesnt bring up the esx inventory hud script.
Also the red gun blip is there showing all the ammunitions how ever theres no markers inside just the text saying press E to open shop. Altho nothin happens