WAYPOINT_PLAYBACK_OVERRIDE_SPEED
Overrides the waypoint playback speed of ped with speed.
Signature
void WAYPOINT_PLAYBACK_OVERRIDE_SPEED(Ped ped, float speed, Any p2, float p3, Any p4); // 0x7D7D2B47FA788E85 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | speed | float |
| 3 | p2 | Any |
| 4 | p3 | float |
| 5 | p4 | Any |
Facts
| Name | WAYPOINT_PLAYBACK_OVERRIDE_SPEED |
|---|---|
| Hash | 0x7D7D2B47FA788E85 |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0x7D7D2B47FA788E85, -- WAYPOINT_PLAYBACK_OVERRIDE_SPEED
PlayerPedId(), -- Ped ped
0.0, -- float speed
0, -- Any p2
0.0, -- float p3
0 -- Any p4
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x7D7D2B47FA788E85", // WAYPOINT_PLAYBACK_OVERRIDE_SPEED
PlayerPedId(), // Ped ped
0.0, // float speed
0, // Any p2
0.0, // float p3
0 // Any p4
);Function.Call((Hash)0x7D7D2B47FA788E85, // WAYPOINT_PLAYBACK_OVERRIDE_SPEED
API.PlayerPedId(), // Ped ped
0.0f, // float speed
0, // Any p2
0.0f, // float p3
0 // Any p4
);Related TASK natives
- WAYPOINT_PLAYBACK_USE_DEFAULT_SPEED
- WAYPOINT_PLAYBACK_GET_IS_AIMING
- WAYPOINT_PLAYBACK_GET_IS_PAUSED
- WAYPOINT_PLAYBACK_GET_IS_SHOOTING
- WAYPOINT_PLAYBACK_PAUSE
- WAYPOINT_PLAYBACK_RESUME
- WAYPOINT_PLAYBACK_START_AIMING_AT_COORD
- WAYPOINT_PLAYBACK_START_AIMING_AT_ENTITY
- WAYPOINT_PLAYBACK_START_AIMING_AT_PED
- WAYPOINT_PLAYBACK_START_SHOOTING_AT_COORD
- WAYPOINT_PLAYBACK_START_SHOOTING_AT_ENTITY
- WAYPOINT_PLAYBACK_START_SHOOTING_AT_PED
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.