Log in to reply
 

Unregistered Zones



  • Hello all, I am wondering how I can fix the areas near Murietta Heights, Del Perro, and Cape Catfish that register as “San Andreas” instead of “Del Perro” and other areas.



  • @Bamxaniel

    I'm not sure if you want to edit the files or use a mod or a script?
    There is a mod called PLD but it is likely outdated.
    You could use a script. Haven't tested this code, but something like this:

    using System;
    using System.Drawing;
    using GTA;
    using GTA.Math;
    using GTA.Native;
    
    public class ExampleScript : Script
    {
        public ExampleScript()
        {
            Tick += OnTick;
        }
    
        private void OnTick(object sender, EventArgs e)
        {
            if (Game.Player.Character != null)
            {
                Vector3 playerPos = Game.Player.Character.Position;
                string zoneName = Function.Call<string>(Hash.GET_NAME_OF_ZONE, playerPos.X, playerPos.Y, playerPos.Z);
    
                string location = "X: " + playerPos.X + ", Y: " + playerPos.Y + ", Z: " + playerPos.Z + "\n" + "Region: " + zoneName;
                GTA.UI.Screen.ShowSubtitle(location, 100);
            }
        }
    }
    

Log in to reply
 

Looks like your connection to GTA5-Mods.com Forums was lost, please wait while we try to reconnect.