The Lab
PED native

_PROPITEM_PLAY_CONDITIONAL_ANIM_WITH_OBJECT

returns void4 paramsbuild 1207

Makes ped play the conditional animation conditionalAnimName with the prop item propItemId on targetEntity.

Signature

C
void _PROPITEM_PLAY_CONDITIONAL_ANIM_WITH_OBJECT(Ped ped, Entity targetEntity, const char* propItemId, const char* conditionalAnimName); // 0xCE7A6C1D5CDE1F9D b1207

Parameters

#NameType
1pedPed
2targetEntityEntity
3propItemIdconst char*
4conditionalAnimNameconst char*

Facts

Facts about _PROPITEM_PLAY_CONDITIONAL_ANIM_WITH_OBJECT
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.

Lua
Citizen.InvokeNative(0xCE7A6C1D5CDE1F9D, -- _PROPITEM_PLAY_CONDITIONAL_ANIM_WITH_OBJECT
  PlayerPedId(), -- Ped ped
  PlayerPedId(), -- Entity targetEntity
  "text", -- const char* propItemId
  "text" -- const char* conditionalAnimName
)
JavaScript
Citizen.invokeNative("0xCE7A6C1D5CDE1F9D", // _PROPITEM_PLAY_CONDITIONAL_ANIM_WITH_OBJECT
  PlayerPedId(), // Ped ped
  PlayerPedId(), // Entity targetEntity
  "text", // const char* propItemId
  "text" // const char* conditionalAnimName
);
C#
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
);
All PED natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.