function gangs_DisplayHelpText(str)--notifications function
	SetTextComponentFormat("STRING")
	AddTextComponentString(str)
	DisplayHelpTextFromStringLabel(0, 0, 1, -1)
end




Citizen.CreateThread(function()
  
    while true do
      Citizen.Wait(0)
       local player = GetPlayerPed(-1) 
			  
		    for k,v in pairs(blips) do--pair with blips table
				 
		           if   IsEntityAtCoord(player,v.x, v.y, v.z, 200.0, 200.0, 10.0, 0, 1, 0) == 1 then --check the player position
			             gangs_DisplayHelpText("~r~your text here")--draw notification,must be call each frame                       
	               end	--end  "IsEntityAtCoord"
		    
             end--end "for loop"	  
	        
	      
		  

end
end)

just forgot to set radius as float… :rage:

1 Like