Position_verf

position_verf error
client.lua
this is the part of the script

Citizen.CreateThread(function ()

while true do 

    Citizen.Wait(5)

    local player = GetPlayerPed(-1)

    local playerLoc = GetEntityCoords(player)

    if robbing == false then

        if nextrobbing == true then 

            DrawMarker(27, 4908.4326171875,-5832.5610351563,28.213724136353, 0, 0, 0, 0, 0, 0, 1.401, 1.401, 1.401, 255, 0, 0, 200, 0, 0, 0, 1) 

            if position_verf(playerLoc.x, playerLoc.y, playerLoc.z, 4908.4326171875,-5832.5610351563,28.213724136353, 2.5) then


help_message(“Apasa pe ~INPUT_CONTEXT~ pentru a incepe jaful”)

                if IsControlJustReleased(1,38) then

                    TriggerServerEvent("cayoheist:serverstart")

                end

            end

        end

    end

end

end)

What’s the error and where’s the function position_verf?

the error is in game console and the position_verf is under the Draw marker in the client.lua file

you can see the error in the screenshot

the error is:

attempt to call a nil value (global ‘position_verf’)

The image wasn’t loading on mobile.

Either way, where’s “position_verf” function defined at? Because that’s not a fivem native as far as i know.

it’s for a robbery start vrp script