I am looking for a message to appear when you enter a certain area.
I have that:
Citizen.CreateThread(function()
while true do
Citizen.Wait(0)
playerPed = GetPlayerPed(-1)
if (GetDistanceBetweenCoords(x, y, z, GetEntityCoords(playerPed)) < Distancia) then
Notification("TEXTO")
end
end
end)
What are you using a custom server? or some base like ESX or Vrp?
You can use my safe zone script and just take out the parts that make it a safe zone and edit the message that pops up.