_GIVE_PED_SCENARIO_PROP_DYNAMIC
Based on its name and signature, here is our best reading:
Appears to give ped a dynamic scenario prop object. Parameters are not well documented.
Signature
BOOL _GIVE_PED_SCENARIO_PROP_DYNAMIC(Ped ped, Object object, const char* p2, const char* p3, BOOL p4); // 0xA0774E388CE4A679 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | object | Object |
| 3 | p2 | const char* |
| 4 | p3 | const char* |
| 5 | p4 | BOOL |
Facts
| Name | _GIVE_PED_SCENARIO_PROP_DYNAMIC |
|---|---|
| Hash | 0xA0774E388CE4A679 |
| 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(0xA0774E388CE4A679, -- _GIVE_PED_SCENARIO_PROP_DYNAMIC
PlayerPedId(), -- Ped ped
0, -- Object object
"text", -- const char* p2
"text", -- const char* p3
false -- BOOL p4
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xA0774E388CE4A679", // _GIVE_PED_SCENARIO_PROP_DYNAMIC
PlayerPedId(), // Ped ped
0, // Object object
"text", // const char* p2
"text", // const char* p3
false, // BOOL p4
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xA0774E388CE4A679, // _GIVE_PED_SCENARIO_PROP_DYNAMIC
API.PlayerPedId(), // Ped ped
0, // Object object
"text", // const char* p2
"text", // const char* p3
false // BOOL p4
);Related PED natives
- _GIVE_PED_SCENARIO_PROP
- GIVE_PED_HASH_SCENARIO_PROP
- _GIVE_PED_HASH_COMMAND
- _REQUEST_PROP_SCENARIO_PED
- _GET_ACTIVE_DYNAMIC_SCENARIO
- _GET_ACTIVE_DYNAMIC_SCENARIO_2
- _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
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.