The Lab
PED native

_GIVE_PED_SCENARIO_PROP

returns BOOL6 paramsbuild 1207

Gives ped the prop object to use in its scenario, with the conditional animation conditionalAnim.

Signature

C
BOOL _GIVE_PED_SCENARIO_PROP(Ped ped, Object object, const char* conditionalAnim, const char* p3, const char* p4, BOOL p5); // 0x3BBDD6143FF16F98 b1207

Parameters

#NameType
1pedPed
2objectObject
3conditionalAnimconst char*
4p3const char*
5p4const char*
6p5BOOL

Facts

Facts about _GIVE_PED_SCENARIO_PROP
Name
_GIVE_PED_SCENARIO_PROP
Hash
0x3BBDD6143FF16F98
Namespace
Returns
BOOL
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0x3BBDD6143FF16F98, -- _GIVE_PED_SCENARIO_PROP
  PlayerPedId(), -- Ped ped
  0, -- Object object
  "text", -- const char* conditionalAnim
  "text", -- const char* p3
  "text", -- const char* p4
  false -- BOOL p5
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x3BBDD6143FF16F98", // _GIVE_PED_SCENARIO_PROP
  PlayerPedId(), // Ped ped
  0, // Object object
  "text", // const char* conditionalAnim
  "text", // const char* p3
  "text", // const char* p4
  false, // BOOL p5
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x3BBDD6143FF16F98, // _GIVE_PED_SCENARIO_PROP
  API.PlayerPedId(), // Ped ped
  0, // Object object
  "text", // const char* conditionalAnim
  "text", // const char* p3
  "text", // const char* p4
  false // BOOL p5
);
All PED natives

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