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)