_SET_META_PED_TAG
Applies a meta ped tag to ped using the given drawable, texture, palette and tint values.
Signature
void _SET_META_PED_TAG(Ped ped, Hash drawable, Hash albedo, Hash normal, Hash material, Hash palette, int tint0, int tint1, int tint2); // 0xBC6DF00D7A4A6819 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | drawable | Hash |
| 3 | albedo | Hash |
| 4 | normal | Hash |
| 5 | material | Hash |
| 6 | palette | Hash |
| 7 | tint0 | int |
| 8 | tint1 | int |
| 9 | tint2 | int |
Facts
| Name | _SET_META_PED_TAG |
|---|---|
| Hash | 0xBC6DF00D7A4A6819 |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0xBC6DF00D7A4A6819, -- _SET_META_PED_TAG
PlayerPedId(), -- Ped ped
GetHashKey("name"), -- Hash drawable
GetHashKey("name"), -- Hash albedo
GetHashKey("name"), -- Hash normal
GetHashKey("name"), -- Hash material
GetHashKey("name"), -- Hash palette
0, -- int tint0
0, -- int tint1
0 -- int tint2
)Citizen.invokeNative("0xBC6DF00D7A4A6819", // _SET_META_PED_TAG
PlayerPedId(), // Ped ped
GetHashKey("name"), // Hash drawable
GetHashKey("name"), // Hash albedo
GetHashKey("name"), // Hash normal
GetHashKey("name"), // Hash material
GetHashKey("name"), // Hash palette
0, // int tint0
0, // int tint1
0 // int tint2
);Function.Call((Hash)0xBC6DF00D7A4A6819, // _SET_META_PED_TAG
API.PlayerPedId(), // Ped ped
(uint)API.GetHashKey("name"), // Hash drawable
(uint)API.GetHashKey("name"), // Hash albedo
(uint)API.GetHashKey("name"), // Hash normal
(uint)API.GetHashKey("name"), // Hash material
(uint)API.GetHashKey("name"), // Hash palette
0, // int tint0
0, // int tint1
0 // int tint2
);Related PED natives
- _SET_META_PED_WEARINESS
- _SET_ACTIVE_META_PED_COMPONENTS_UPDATED
- _APPLY_PED_META_PED_OUTFIT
- _CREATE_META_PED_OUTFIT_PED
- _DOES_META_PED_OUTFIT_EXIST_FOR_PED_MODEL
- _DOES_META_PED_SUBOUTFIT_EXIST_FOR_PED_MODEL
- REMOVE_TAG_FROM_META_PED
- _SET_MIN_PED_HEALTH_THRESHOLD
- _SET_AMBIENT_PED_DENSITY_MULTIPLIER_THIS_FRAME
- _SET_DEFENSE_MODIFIER_FOR_PED
- _SET_PED_ACTION_DISABLE_FLAG
- _SET_PED_ACTIVATE_WOUND_EFFECT
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.