But actually it’s not working on my server, I create a folder ressource and I put this script in and I added it to the AutoStart but when I’m on the server the mini-map appear !
then somewhere in your server you are forcing it on.
i just tested it, you cannot put it on, at least not with the same code, so i don’t know why you still see the radar, maybe you have a radar option in em ( if you have em)
@hbk I wonder if its possible to disable the blips on the map, but plot a path to the online player so officers could respond to callouts and requests for backups using the GPS on the map. I already have a script to disable the radar server-side if you guys want it. Confirmed working…
Citizen.CreateThread(function()
while true do
Citizen.Wait(0)
local playerPed = GetPlayerPed(-1)
local playerVeh = GetVehiclePedIsIn(playerPed, false)
if DoesEntityExist(playerVeh) then
DisplayRadar(true)
else
DisplayRadar(false)
end
end
end)
If you use this, it the minimap only shows when you are in a vehicle. Which Seat doesn’t matter for now