FiveM Docs / Native Reference
API Set:
  • all
  • server
  • client
Language:
  • raw
  • lua
  • c#
  • js
Namespace: HUDAPI set: clientGame: gta5editImprove

CREATE_FAKE_MP_GAMER_TAG

0xBFEFE3321A3F5015
0xF5CD2AA4
// CreateFakeMpGamerTag
int CREATE_FAKE_MP_GAMER_TAG(Ped ped, char* username, BOOL crewIsPrivate, BOOL crewIsRockstar, char* crewName, int crewRank);
Parameters:
  • ped:

    The ped that the fake gamer tag will be attached to.

  • username:

    The name displayed on the gamer tag.

  • crewIsPrivate:

    If the crew is private. Public crews have a pointed end cap, private crews do not.

  • crewIsRockstar:

    If the crew is a Rockstar crew. Rockstar crews include a Rockstar logo before the name.

  • crewName:

    The name of the crew.

  • crewRank:

    The rank from 1-5 that the player is within the crew. Use 0 if the player is the founder of the crew. Only relevant for private crews.

Returns:

The ID of the new gamer tag.

As per the name, this native creates a "fake" gamer tag that is attached to a specific ped. Unlike "real" gamer tags, you cannot set the crew colour of these gamer tags.

To create gamer tags for actual players and for more gamer tag information, see CREATE_MP_GAMER_TAG_WITH_CREW_COLOR.

Old name: _CREATE_MP_GAMER_TAG

Privacy
•
Cookie Policy
•
Cookie Settings
BUSYSPINNER_IS_DISPLAYING()
BUSYSPINNER_IS_ON()
BUSYSPINNER_OFF()
CHANGE_FAKE_MP_CASH(int cash, int bank)
CLEAR_ADDITIONAL_TEXT(int p0, BOOL p1)
_CLEAR_ALL_BLIP_ROUTES()
CLEAR_ALL_HELP_MESSAGES()
CLEAR_BRIEF()
CLEAR_DYNAMIC_PAUSE_MENU_ERROR_MESSAGE()
CLEAR_FLOATING_HELP(int hudIndex, BOOL p1)
CLEAR_GPS_CUSTOM_ROUTE()
CLEAR_GPS_FLAGS()
CLEAR_GPS_MULTI_ROUTE()
CLEAR_GPS_PLAYER_WAYPOINT()
CLEAR_GPS_RACE_TRACK()
CLEAR_HELP(BOOL toggle)
CLEAR_PED_IN_PAUSE_MENU()
CLEAR_PRINTS()
_CLEAR_RACE_GALLERY_BLIPS()
CLEAR_REMINDER_MESSAGE()
CLEAR_SMALL_PRINTS()
CLEAR_THIS_PRINT(char* p0)
_CLOSE_MULTIPLAYER_CHAT()
CLOSE_SOCIAL_CLUB_MENU()
CREATE_FAKE_MP_GAMER_TAG(Ped ped, char* username, BOOL crewIsPrivate, BOOL crewIsRockstar, char* crewName, int crewRank)
CREATE_MP_GAMER_TAG_WITH_CREW_COLOR(Player player, char* username, BOOL crewIsPrivate, BOOL crewIsRockstar, char* crewName, int crewRank, int crewR, int crewG, int crewB)
DELETE_WAYPOINTS_FROM_THIS_PLAYER()
DISABLE_FRONTEND_THIS_FRAME()
_DISABLE_MULTIPLAYER_CHAT(BOOL disable)
DISPLAY_AMMO_THIS_FRAME(BOOL display)
DISPLAY_AREA_NAME(BOOL toggle)
DISPLAY_CASH(BOOL display)
DISPLAY_HELP_TEXT_THIS_FRAME(char* pTextLabel, BOOL bCurvedWindow)
DISPLAY_HUD(BOOL toggle)
_DISPLAY_HUD_WHEN_DEAD_THIS_FRAME()