qb-tattooshop
qb-tattooshop copied to clipboard
Error
Just added the script and and launched the sql. Still get some kind of error
same here man..
same here man..
Add this to the top of the file which you are getting the error from. "local QBCore = exports['qb-core']:GetCoreObject()"
same here man..
Add this to the top of the file which you are getting the error from. "local QBCore = exports['qb-core']:GetCoreObject()"
It's already in it :/
Hey Guys thank you for reporting, can you guys try now i have updated the script
Hey Guys thank you for reporting, can you guys try now i have updated the script
It works for now :) Thank you for fixing it
** can i delete this thread without effecting the script?**
CreateThread(function() while true do Wait(0)
for i = 1, #Config.Shops, 1 do
local player = PlayerPedId()
local playerloc = GetEntityCoords(player, 0)
local coordinates = Config.Shops[i]
local dist = GetDistanceBetweenCoords(coordinates['x'], coordinates['y'], coordinates['z'], playerloc['x'], playerloc['y'], playerloc['z'], true)
if dist <= 8 then
DrawText3Ds(coordinates.x, coordinates.y, coordinates.z + 0.10, "/removealltattoo to remove all tattoos.")
end
end
end
end)
Still get this error
not sure how you guys are even managing to get that error can you please elaborate?
Hello I am getting the same error above, everything is working but it just prints this error every once in a while
I am also getting this error
Since the update when i had an issue, everything been fine for me. odd how theyre all getting errors..
Issue was that in the database, a character had a value of 0 in the tattoo data table
so that was the fix i think? thanks DrifterTV :)
Was not the root of my issue