_GIVE_PED_SCENARIO_PROP
Gives ped the prop object to use in its scenario, with the conditional animation conditionalAnim.
Signature
BOOL _GIVE_PED_SCENARIO_PROP(Ped ped, Object object, const char* conditionalAnim, const char* p3, const char* p4, BOOL p5); // 0x3BBDD6143FF16F98 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | object | Object |
| 3 | conditionalAnim | const char* |
| 4 | p3 | const char* |
| 5 | p4 | const char* |
| 6 | p5 | BOOL |
Facts
| 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.
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
-- ...
endconst 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) {
// ...
}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
);Related PED natives
- _GIVE_PED_SCENARIO_PROP_DYNAMIC
- GIVE_PED_HASH_SCENARIO_PROP
- _GIVE_PED_HASH_COMMAND
- _REQUEST_PROP_SCENARIO_PED
- _GET_IS_PED_IN_DISPUTE_WITH_PED
- _GET_PED_REGISTER_PROP
- _GET_PED_WHO_HOGITIED_THIS_PED
- _APPLY_PED_META_PED_OUTFIT
- _CAN_PED_HEAR_TARGET_PED
- _CAN_PED_USE_SCENARIO_POINT
- _CREATE_META_PED_OUTFIT_PED
- _DOES_META_PED_OUTFIT_EXIST_FOR_PED_MODEL
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.