So I have installed a map and mini map on my QBCore server but whenever I enter the server I have a grey square around my mini map and the old blue and green health/armour bar too.
Can anyone help with how I remove them from behind my mini map?
Thank you
while true do
Citizen.Wait(1)
if IsPedOnFoot(GetPlayerPed(-1)) then
SetRadarZoom(1100)
elseif IsPedInAnyVehicle(GetPlayerPed(-1), true) then
SetRadarZoom(1100)
end
end
I just learned something, I wasn’t very familiar with the basic HUD and with those natives. Apparently ‘DisplayRadar(false)’ is enought to hide the health/armour/minimap.
The issue here being that the script your use to modify you minimap is still using the minimap of the base game so if you hide the health and armour bars with the Native you will hide your minimap too in theory.