diff --git a/client/functions.lua b/client/functions.lua index a008cec..877fe94 100644 --- a/client/functions.lua +++ b/client/functions.lua @@ -61,9 +61,9 @@ function QBCore.Functions.DrawText3D(x, y, z, text) end function QBCore.Functions.CreateBlip(coords, sprite, display, scale, colour, shortRange, title) - print(coords, sprite, display, scale, colour, shortRange, title) if not coords or not sprite or not display or not scale or not colour or shortRange == nil or not title then - print("Blip failed to create, most likely missed a setting") + print("Blip failed to create, most likely missed a setting, debug log: ") + print("Coords: " .. coords .. " Sprite: " .. sprite .. " Display: " .. display .. " scale: " .. scale .. " shortRange: " .. shortRange .. " Title: " .. title .. " if you're attempting to use a blip without a title, use an empty string.") else blip = AddBlipForCoord(coords) SetBlipSprite(blip, sprite)