Qbcore notification

I am having an issue and wondering if someone has an easy fix.
when you go into the circle the qbcore notification keeps spamming and idk how to only make it go once.
This is a script im working on

if #(destination - playerCoords) < 8.0 then
                QBCore.Functions.Notify(Lang:t("info.finish"))
                if IsControlJustPressed(0, Config.DefaultKey) and GetVehiclePedIsUsing(PlayerPedId()) then
                    TriggerEvent('qb-pilotjob:client:land', k)
                    RemoveBlip(blip)
                end
            end

i figured it out by using

exports[‘qb-core’]:DrawText(Lang:t(“info.finish”), ‘left’)

then when the control is pressed
exports[‘qb-core’]:HideText()

Try putting it after the iscontrolpressed

that displays when you can press the button. it needs to show before you press the button to know what to press. but i figured it out. thanks

ahh ok

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.