Question about the minimap (RESOLVED)

Does anyone know the code to remove just the mini map and not the hud as well??

Moved to scripting
Citizen.CreateThread(function()
    while true do
		DisplayRadar false
		Citizen.Wait(0)		
	 end			 
end)

@Boss Thank you so much