IS_PLAYBACK_USING_AI_GOING_ON_FOR_VEHICLE
Returns true if an AI-driven recording playback is running on vehicle.
Signature
BOOL IS_PLAYBACK_USING_AI_GOING_ON_FOR_VEHICLE(Vehicle vehicle); // 0x5A7472606EC5B7C1 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | vehicle | Vehicle |
Facts
| Name | IS_PLAYBACK_USING_AI_GOING_ON_FOR_VEHICLE |
|---|---|
| Hash | 0x5A7472606EC5B7C1 |
| 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(0x5A7472606EC5B7C1, -- IS_PLAYBACK_USING_AI_GOING_ON_FOR_VEHICLE
0 -- Vehicle vehicle
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x5A7472606EC5B7C1", // IS_PLAYBACK_USING_AI_GOING_ON_FOR_VEHICLE
0, // Vehicle vehicle
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x5A7472606EC5B7C1, // IS_PLAYBACK_USING_AI_GOING_ON_FOR_VEHICLE
0 // Vehicle vehicle
);Related VEHICLE natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.