CreateFakeMpGamerTag
Docslocal retval = CreateFakeMpGamerTag(ped, username, crewIsPrivate, crewIsRockstar, crewName, crewRank)Description
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.
Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | The ped that the fake gamer tag will be attached to. |
username | char* | The name displayed on the gamer tag. |
crewIsPrivate | BOOL | If the crew is private. Public crews have a pointed end cap, private crews do not. |
crewIsRockstar | BOOL | If the crew is a Rockstar crew. Rockstar crews include a Rockstar logo before the name. |
crewName | char* | The name of the crew. |
crewRank | int | 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. |
Quick Snippet: Get Ped Handleped
pedUse this to get the player ped handle for this native.
-- Get the player's ped handle (client-side)
local ped = PlayerPedId()
print("Ped handle: " .. ped)
-- For a specific player's ped (server-side):
-- local targetPed = GetPlayerPed(source)Ped Models

mp_m_freemode_01
player_zero
ig_agatha
s_m_y_cop_01
s_m_m_gaffer_01
g_m_m_armboss_01
a_c_boar
a_m_m_bevhills_01Returns
intReturns an integer value.