_PROPITEM_PLAY_CONDITIONAL_ANIM_WITH_OBJECT
Makes ped play the conditional animation conditionalAnimName with the prop item propItemId on targetEntity.
Signature
void _PROPITEM_PLAY_CONDITIONAL_ANIM_WITH_OBJECT(Ped ped, Entity targetEntity, const char* propItemId, const char* conditionalAnimName); // 0xCE7A6C1D5CDE1F9D b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | targetEntity | Entity |
| 3 | propItemId | const char* |
| 4 | conditionalAnimName | const char* |
Facts
| Name | _PROPITEM_PLAY_CONDITIONAL_ANIM_WITH_OBJECT |
|---|---|
| Hash | 0xCE7A6C1D5CDE1F9D |
| 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(0xCE7A6C1D5CDE1F9D, -- _PROPITEM_PLAY_CONDITIONAL_ANIM_WITH_OBJECT
PlayerPedId(), -- Ped ped
PlayerPedId(), -- Entity targetEntity
"text", -- const char* propItemId
"text" -- const char* conditionalAnimName
)Citizen.invokeNative("0xCE7A6C1D5CDE1F9D", // _PROPITEM_PLAY_CONDITIONAL_ANIM_WITH_OBJECT
PlayerPedId(), // Ped ped
PlayerPedId(), // Entity targetEntity
"text", // const char* propItemId
"text" // const char* conditionalAnimName
);Function.Call((Hash)0xCE7A6C1D5CDE1F9D, // _PROPITEM_PLAY_CONDITIONAL_ANIM_WITH_OBJECT
API.PlayerPedId(), // Ped ped
API.PlayerPedId(), // Entity targetEntity
"text", // const char* propItemId
"text" // const char* conditionalAnimName
);Related PED natives
- _REMOVE_CONDITIONAL_ANIM_PROPITEM
- _GET_IS_PED_IN_DISPUTE_WITH_PED
- _GET_PED_HAS_INTERACTED_WITH_PLAYER
- _GET_PEDS_IN_COMBAT_WITH_TARGET
- _SPAWNPOINTS_START_SEARCH_WITH_VOLUME
- CLEAR_FACIAL_IDLE_ANIM_OVERRIDE
- COUNT_PEDS_IN_COMBAT_WITH_TARGET
- COUNT_PEDS_IN_COMBAT_WITH_TARGET_WITHIN_RADIUS
- GET_ANIM_INITIAL_OFFSET_POSITION
- GET_ANIM_INITIAL_OFFSET_ROTATION
- SET_FACIAL_IDLE_ANIM_OVERRIDE
- SET_PED_CAN_PLAY_AMBIENT_ANIMS
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.