[Soz-shops and Qb-core] Script error #118
Replies: 1 comment
-
1st : you should move to Discussions. This section is reserved to In Game Bug reports, Feature improvements & Feature proposals, not server installation related issues. For your interest: the issue you are having is that the server is returning an empty shop content. The code is then trying to index it for reading, but indexing a nil value yields a script error. |
Beta Was this translation helpful? Give feedback.
-
Issue
Ok, so i followed your guide to install to avoid problem on installing...
Server start correctly, creation of character good...
i go to any clothing shop and i see
Go to TriggerCallback and found the line 253
Go to events.lua
first error that i got is
-- GetShopContent
QBCore.Functions.CreateCallback("shops:server:GetShopContent", function(source, cb, shop_name)
local Player = QBCore.Functions.GetPlayer(source)
local PlayerModelHash = Player.PlayerData.skin.Model.Hash
end)
This is the first error that i got
i don't know how to fix it.
Beta Was this translation helpful? Give feedback.
All reactions