RedM Natives

_SET_META_PED_TAG

Use to apply metaped player components Replaces asset, alternatively you can remove assets using REMOVE_TAG_FROM_META_PED

Hash0xBC6DF00D7A4A6819
Runtime nameSetMetaPedTag
NamespacePED
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _SET_META_PED_TAG(Ped ped, Hash drawable, Hash albedo, Hash normal, Hash material, Hash palette, int tint0, int tint1, int tint2);

Parameters

NameTypeDescription
pedPed—
drawableHash—
albedoHash—
normalHash—
materialHash—
paletteHash—
tint0int—
tint1int—
tint2int—

Returns void

Description

Use to apply metaped player components
Replaces asset, alternatively you can remove assets using REMOVE_TAG_FROM_META_PED

Usage

Lua
SetMetaPedTag(ped, drawable, albedo, normal, material, palette, tint0, tint1, tint2)

-- always works, by hash
Citizen.InvokeNative(0xBC6DF00D7A4A6819, ped, drawable, albedo, normal, material, palette, tint0, tint1, tint2)
JavaScript and C#
JavaScript
SetMetaPedTag(ped, drawable, albedo, normal, material, palette, tint0, tint1, tint2);

// by hash
Citizen.invokeNative('0xBC6DF00D7A4A6819', ped, drawable, albedo, normal, material, palette, tint0, tint1, tint2);
C#
Function.Call((Hash)0xBC6DF00D7A4A6819, ped, drawable, albedo, normal, material, palette, tint0, tint1, tint2);
  • Hash parameters: the named function also accepts a string and hashes it for you; Citizen.InvokeNative needs the number — pass joaat("name") or a backtick literal like `name`.
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.