Disable expanded map

help
map

#1

Hi! Just wondering if there is any way to completely disable the expanded map? I know you can turn it on and off however, Im just wondering if it can be completely disabled. Cheers!


#2

Do you mean, disabling the “extended map” option for everyone on the server? Pretty sure you can do that with a script like this:

Citizen.CreateThread(function()
  while true do
    Citizen.Wait(0)
    SetRadarBigmapEnabled(false, false)
  end
end)

http://runtime.fivem.net/doc/reference.html#_0x231C8F89D0539D8F

BTW, moved this topic to #development:scripts.


#3

Thanks! Im new to this so how would i set this up in a resource? cheers


#4

Take a look at some scripting tutorials, plenty of those on the forums already


#5

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.