_REQUEST_PROP_SCENARIO_PED
Based on its name and signature, here is our best reading:
Appears to request a prop scenario for ped with object. Parameters are not well documented.
Signature
Any _REQUEST_PROP_SCENARIO_PED(Ped ped, Object object, const char* p2, const char* p3, const char* p4, BOOL p5); // 0xBEC65C6049B3219D b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | object | Object |
| 3 | p2 | const char* |
| 4 | p3 | const char* |
| 5 | p4 | const char* |
| 6 | p5 | BOOL |
Facts
| Name | _REQUEST_PROP_SCENARIO_PED |
|---|---|
| Hash | 0xBEC65C6049B3219D |
| Namespace | |
| Returns | Any |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0xBEC65C6049B3219D, -- _REQUEST_PROP_SCENARIO_PED
PlayerPedId(), -- Ped ped
0, -- Object object
"text", -- const char* p2
"text", -- const char* p3
"text", -- const char* p4
false, -- BOOL p5
Citizen.ResultAsInteger()
)
print(result)const result = Citizen.invokeNative("0xBEC65C6049B3219D", // _REQUEST_PROP_SCENARIO_PED
PlayerPedId(), // Ped ped
0, // Object object
"text", // const char* p2
"text", // const char* p3
"text", // const char* p4
false, // BOOL p5
Citizen.resultAsInteger()
);
console.log(result)int result = Function.Call<int>((Hash)0xBEC65C6049B3219D, // _REQUEST_PROP_SCENARIO_PED
API.PlayerPedId(), // Ped ped
0, // Object object
"text", // const char* p2
"text", // const char* p3
"text", // const char* p4
false // BOOL p5
);Related PED natives
- _REQUEST_PED_FOR_SCENARIO_TYPE
- _REQUEST_PED_EMOTIONAL_PRESET
- _REQUEST_PED_FACIAL_MOOD_THIS_FRAME
- _REQUEST_PED_GETUP_ANIMATION
- _GIVE_PED_SCENARIO_PROP
- _GIVE_PED_SCENARIO_PROP_DYNAMIC
- _REQUEST_META_PED
- _REQUEST_META_PED_ASSET_BUNDLE
- _REQUEST_META_PED_COMPONENT
- _REQUEST_META_PED_OUTFIT
- GIVE_PED_HASH_SCENARIO_PROP
- _REFRESH_CARRIED_PED_FOR_PED
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.