SET_PED_SHOULD_PLAY_QUICK_SCENARIO_EXIT
Makes ped exit its scenario quickly towards the given point.
Signature
BOOL SET_PED_SHOULD_PLAY_QUICK_SCENARIO_EXIT(Ped ped, float x, float y, float z, int lookIntensity, BOOL p5); // 0x463803429297117C b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | x | float |
| 3 | y | float |
| 4 | z | float |
| 5 | lookIntensity | int |
| 6 | p5 | BOOL |
Facts
| Name | SET_PED_SHOULD_PLAY_QUICK_SCENARIO_EXIT |
|---|---|
| Hash | 0x463803429297117C |
| 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(0x463803429297117C, -- SET_PED_SHOULD_PLAY_QUICK_SCENARIO_EXIT
PlayerPedId(), -- Ped ped
0.0, -- float x
0.0, -- float y
0.0, -- float z
0, -- int lookIntensity
false -- BOOL p5
)
if result then
-- ...
end// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
const result = Citizen.invokeNative("0x463803429297117C", // SET_PED_SHOULD_PLAY_QUICK_SCENARIO_EXIT
PlayerPedId(), // Ped ped
0.0, // float x
0.0, // float y
0.0, // float z
0, // int lookIntensity
false, // BOOL p5
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x463803429297117C, // SET_PED_SHOULD_PLAY_QUICK_SCENARIO_EXIT
API.PlayerPedId(), // Ped ped
0.0f, // float x
0.0f, // float y
0.0f, // float z
0, // int lookIntensity
false // BOOL p5
);Related PED natives
- SET_PED_SHOULD_PLAY_COMBAT_SCENARIO_EXIT
- SET_PED_SHOULD_PLAY_DIRECTED_NORMAL_SCENARIO_EXIT
- SET_PED_SHOULD_PLAY_EMOTIONAL_SCENARIO_EXIT
- SET_PED_SHOULD_PLAY_FLEE_SCENARIO_EXIT
- SET_PED_SHOULD_PLAY_IMMEDIATE_SCENARIO_EXIT
- SET_PED_SHOULD_PLAY_NORMAL_SCENARIO_EXIT
- SET_PED_PANIC_EXIT_SCENARIO
- SET_PED_CAN_PLAY_AMBIENT_ANIMS
- SET_PED_CAN_PLAY_AMBIENT_BASE_ANIMS
- SET_PED_CAN_PLAY_GESTURE_ANIMS
- SET_SCENARIO_PED_DENSITY_MULTIPLIER_THIS_FRAME
- SET_PED_SHOOT_RATE
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.