_SET_META_PED_TAG
Use to apply metaped player components Replaces asset, alternatively you can remove assets using REMOVE_TAG_FROM_META_PED
Hash
0xBC6DF00D7A4A6819Runtime name
SetMetaPedTagNamespacePED
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
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
drawable | Hash | — |
albedo | Hash | — |
normal | Hash | — |
material | Hash | — |
palette | Hash | — |
tint0 | int | — |
tint1 | int | — |
tint2 | int | — |
Returns void
Description
Use to apply metaped player components
Replaces asset, alternatively you can remove assets using REMOVE_TAG_FROM_META_PED
Usage
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#
SetMetaPedTag(ped, drawable, albedo, normal, material, palette, tint0, tint1, tint2);
// by hash
Citizen.invokeNative('0xBC6DF00D7A4A6819', ped, drawable, albedo, normal, material, palette, tint0, tint1, tint2);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.InvokeNativeneeds the number — passjoaat("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
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.