IS_WAYPOINT_PLAYBACK_GOING_ON_FOR_PED
Returns true if ped is following the waypoint recording waypointRecording.
Signature
BOOL IS_WAYPOINT_PLAYBACK_GOING_ON_FOR_PED(Ped ped, const char* waypointRecording); // 0xE03B3F2D3DC59B64 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | waypointRecording | const char* |
Facts
| Name | IS_WAYPOINT_PLAYBACK_GOING_ON_FOR_PED |
|---|---|
| Hash | 0xE03B3F2D3DC59B64 |
| 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(0xE03B3F2D3DC59B64, -- IS_WAYPOINT_PLAYBACK_GOING_ON_FOR_PED
PlayerPedId(), -- Ped ped
"text" -- const char* waypointRecording
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xE03B3F2D3DC59B64", // IS_WAYPOINT_PLAYBACK_GOING_ON_FOR_PED
PlayerPedId(), // Ped ped
"text", // const char* waypointRecording
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xE03B3F2D3DC59B64, // IS_WAYPOINT_PLAYBACK_GOING_ON_FOR_PED
API.PlayerPedId(), // Ped ped
"text" // const char* waypointRecording
);Related TASK natives
- IS_WAYPOINT_PLAYBACK_GOING_ON_FOR_VEHICLE
- _IS_PED_ARRESTING_ANY_PED
- VEHICLE_WAYPOINT_PLAYBACK_GET_IS_PAUSED
- WAYPOINT_PLAYBACK_GET_IS_AIMING
- WAYPOINT_PLAYBACK_GET_IS_PAUSED
- WAYPOINT_PLAYBACK_GET_IS_SHOOTING
- WAYPOINT_PLAYBACK_START_AIMING_AT_PED
- WAYPOINT_PLAYBACK_START_SHOOTING_AT_PED
- IS_PED_ACTIVE_IN_SCENARIO
- IS_PED_BEING_ARRESTED
- IS_PED_CUFFED
- IS_PED_EXITING_SCENARIO
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.