[HELP] CreateMpGamerTag

Hello.

So as you may know or not there is something like this on the fivem wiki: https://wiki.fivem.net/wiki/Gamer_tag_display
Although the CreateMpGamerTag doesn’t seem to exist. I know that I could go with:

Citizen.InvokeNative( 0xBFEFE3321A3F5015, ped, tostring(GetPlayerServerId(id)), false, false, "", false )

But I want the extra easy to change possibilities like visibility and others that are on that wiki article.

Any clue how do I get that working?

Are you using the right resource manifest version?


Oh well I just added it and it works fine.

resource_manifest_version 'f15e72ec-3972-4fe4-9c7d-afc5394ae207'

Never thought that this would be the case.
Btw. What’s the recent version?
And thanks for helping. :smiley:

Oh and also

AddTextComponentString("msg")
--and
SetTextComponentFormat("STRING")

Doesn’t seem to work after I added the manifest version… :frowning:

I think I will just go back to not using the manifest version and just invoking natives for now. :slight_smile:

That’s because those native names were wrong, the real ones had been found later on.

You should’ve started developing with the latest version, not no version at all.