Jump to content

Custom - map


tommymaster

Recommended Posts

Hi! I tried to find out the GTA SA map size, so far i got 3072 on Y, i think the X is just as wide as this. I want to switch the F11 map to a custom map, which looks like the GTA V map, just in GTA SA version. Could you guys tell me where to find the right image in resolution (3072x3072), and any tip how to switch the default radar to a new one? And i would like to make a radar that only displays the surrounding houses and blips, not the whole map.

Link to comment
10 hours ago, tommymaster said:

Hi! I tried to find out the GTA SA map size, so far i got 3072 on Y, i think the X is just as wide as this. I want to switch the F11 map to a custom map, which looks like the GTA V map, just in GTA SA version. Could you guys tell me where to find the right image in resolution (3072x3072), and any tip how to switch the default radar to a new one? And i would like to make a radar that only displays the surrounding houses and blips, not the whole map.

Learn from this resource or straight take it and modify it: https://community.multitheftauto.com/index.php?p=resources&s=details&id=381. This replaces the default map with a custom one.

About showing different blips, you can always set different dimensions on clientside and check for the distance between you and the blip.

local distanceMax = 50
local x,y,z = getElementPosition (localPlayer)

  for i,blips in ipairs (getElementsByType("blip")) do
    local bx,by,bz = getElementPosition (blips)
    local dist = getDistanceBetweenPoints3D (x,y,z,bx,by,bz)
      if dist < 50 then
        setElementDimension (blips,getElementDimension(localPlayer))
      else
        setElementDimension (blips,getElementDimension(localPlayer)+1)
      end
  end

Try doing something like this, you'll probably have to modify this example to make it suitable for your needs.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...