Streaming Global.gxt2

Hey, is it possible to stream global.gxt2?

Why would you want to?

You know you can add your own entries by using the ADD_TEXT_ENTRY native, right?

I’m trying to edit the street names to get them to swedish

Or that is possible through ADD_TEXT_ENTRY too?

Any idea @Havoc ? Would really want this to work :slight_smile:

It is indeed possible to do it through AddTextEntry, ive done it before when messing around :smiley:

Can you send a sample on how to do it? @sadboilogan

AddTextEntry('labelname', 'customname') or so

1 Like

anything else needed in the script? @sadboilogan

Citizen.CreateThread(function()
-- put the text entry lines in here
end)

that’s the client part you need

on labelname do I put the hash or the text?

the actual name of the label you want to override. Not the hash.

So for example in 0x000E7C17 = Parachute dangerously. I would put Parachute dangerously.?

No, you can’t override those. You actually need a label name for those. So only ones with label names like PSM_RTIME = Recent Time will be able to be overwritten (PSM_RTIME).

So that would mean it’s not possible to change street names?

if they don’t have a name, and only the hash is known, then no you can’t because you don’t know what the name of the label is that the game uses.

Do you have some kind of list for every name for the label?

Yes, there are some lists online. Just look for “GTA V labels list” and you’ll find it.

FAKE NEWS!!!

you can just use this: https://runtime.fivem.net/doc/reference.html#_0x289da860

No, won’t work. At least, in my testing it didn’t work as the game uses it by its real name, and if you don’t know the name, you can’t override the correct one… though not sure if it was that code or if it really doesn’t work…