Street & Zone Names
rHUD displays the street and zone names returned by the game.1
If you want to rename streets or zones, create a small FiveM resource that registers replacement text entries on the client.
Find the Hashes
Use jgscripts/gtav-street-zone-hashes to find the street or zone you want to rename.
- Streets use numeric hashes from
streets.txt, such as0x7999837. - Zones use label names from
zones.txt, such asAIRP.
Create a Resource
Create a new resource folder, for example custom-location-names.
Create an fxmanifest.lua file inside the resource folder.
Create a client.lua file and add one AddTextEntryByHash call for each street or zone you want to rename.
Add the resource to your server.cfg.
Restart the resource or your server, then join the server and check the renamed location in-game.
Adding More Names
You can add as many replacements as needed to the same client.lua file.
Some roads have more than one hash. If part of a renamed road still shows the old name, find the other matching entry in streets.txt and add another AddTextEntryByHash call for it.
Troubleshooting
- Make sure the script is a client script, not a server script.
- Make sure the resource is started in
server.cfg. - For streets, copy the hash exactly as shown in
streets.txt. - For zones, wrap the zone label in backticks, for example
`AIRP`.
Footnotes
-
This does not modify rHUD directly. The resource changes the text entries returned by GTA/FiveM, and rHUD displays the returned names. ↩