I was editing the street label script and was wondering if there was a region native so like it would also show that your in Los Santos county or Blaine like in this picture https://gyazo.com/820823a9af44f2460a61d38ace100f0b after Strawberry say / Los Santos county.
Cant you just look through the code and find it?
If you’re talking about the larger areas of the map (e.g. Fort Zancudo, Los Santos International Airport etc) then these are called “zones” in GTA. You can get their label by using this native:
https://runtime.fivem.net/doc/reference.html#_0xCD90657D4C30E1CA
I have that part, see how in the original pld https://gyazo.com/5670bf33382e4be2f22bef61ade864bb it shows vinewood which that case would be the “zones” and shows los santos country how would i go about doing that part since there is no region native is what i am trying to say.
I don’t think there’s a native for that but I reckon you could implement a check relatively easily.
This is how I’d do it
- Make a table containing the labels for Blaine County
- Make a table containing the labels for Los Santos County
- Get the zone the player is in
- if the zone is in the Blaine County table then show Blaine County
- if it’s in the Los Santos table display Los Santos
Alright thanks for telling me how to do that would you also know how to make to to where it’s not at an intersection like this https://gyazo.com/b1bfee809eb7607f8db85e85eb7aca9a it doesn’t show “&”