Hello,
Im hoping someone on here can help as im confused.
I have a very good render of the GTA 4 map for my FiveM server, However Street Labels Does not work with it, Some points it says the GTA 5 Maps Road Names randomly, Sometimes its just blank.
If anyone knows a fix to this to get the GTA 4 Zones / Street/Road Names It would be much appreciated!
I’d say take a look at what the code is doing. Ask here if you have any questions about it, but it’s clear that it’s referencing the street names based on coordinate location.
Judging by your symptoms, I can tell you’ve replaced the original map with the IV map.
So what’s happening is that this script is rendering the street names based on where you WOULD BE if the map was the vanilla map, however, you’re in a different map so it looks completely different.
There are two natives that are responsible for this:
GetNameOfZone()
and
GetStreetNameAtCoord()
Meaning you’re going to have to:
- Find out how they work
and
- Redefine them based on the street names in IV.
Another point to note is this:
Your map headings should match EXACTLY how they’d match the V map in terms of direction.
For example, broker and dukes should be EAST and Alderny should be WEST.
If they’re not, don’t panic - you’ll just have to redefine the coordinate system specified at the top.
Hope this helps and good luck!