WAYPOINT_PLAYBACK_GET_IS_SHOOTING
Returns true if ped is shooting during waypoint playback.
Signature
BOOL WAYPOINT_PLAYBACK_GET_IS_SHOOTING(Ped ped); // 0xA5B94DF8AF058F46 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
Facts
| Name | WAYPOINT_PLAYBACK_GET_IS_SHOOTING |
|---|---|
| Hash | 0xA5B94DF8AF058F46 |
| 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(0xA5B94DF8AF058F46, -- WAYPOINT_PLAYBACK_GET_IS_SHOOTING
PlayerPedId() -- Ped ped
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xA5B94DF8AF058F46", // WAYPOINT_PLAYBACK_GET_IS_SHOOTING
PlayerPedId(), // Ped ped
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xA5B94DF8AF058F46, // WAYPOINT_PLAYBACK_GET_IS_SHOOTING
API.PlayerPedId() // Ped ped
);Related TASK natives
- WAYPOINT_PLAYBACK_GET_IS_AIMING
- WAYPOINT_PLAYBACK_GET_IS_PAUSED
- WAYPOINT_PLAYBACK_START_SHOOTING_AT_COORD
- WAYPOINT_PLAYBACK_START_SHOOTING_AT_ENTITY
- WAYPOINT_PLAYBACK_START_SHOOTING_AT_PED
- WAYPOINT_PLAYBACK_STOP_AIMING_OR_SHOOTING
- WAYPOINT_PLAYBACK_OVERRIDE_SPEED
- WAYPOINT_PLAYBACK_PAUSE
- WAYPOINT_PLAYBACK_RESUME
- WAYPOINT_PLAYBACK_START_AIMING_AT_COORD
- WAYPOINT_PLAYBACK_START_AIMING_AT_ENTITY
- WAYPOINT_PLAYBACK_START_AIMING_AT_PED
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.