Jump to content

Custom - map


tommymaster

Recommended Posts

Posted

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.

Posted
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.

tJ5zeFm.gif

Proud owner and developer of ZNEXT: Aftermath.

Enter a post-apocalyptic San Andreas and fight over 30 types of enemies and bosses with varying difficulties and skills, improve and customize your character by leveling up, completing challenges and a solid lootbox system with no Pay-to-Win mechanics that will break your experience.

Meet new characters, creatures and weapon metas, experience an innovative combo-based melee system, or join our solid PvP modes to show other survivors who’s boss. 

Español, Pусский, Türk, عربى, Polski, Português

IP: mtasa://104.36.110.227:22003 - Discord: https://discord.gg/CxMxjvC5pB

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...