Game code
TASK::TASK_VEHICLE_CHASE
0xFC9C4CACC3F7571C ·RVA 0x044C8F40
Signature
void TASK_VEHICLE_CHASE(Ped driver, Entity targetEnt, int p2);
The scripts pass 5 values to this native; the decoded signature lists 3 (arguments the game doesn't read are left out).
Parameters 3
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Ped | driver |
– |
| 1 | Entity | targetEnt |
– |
| 2 | int | p2 |
– |
Returns
void Nothing.
Notes
- Names from GTA V; types from the game code, which differs from GTA V's signature:
- p2 is not in GTA V's signature; the game reads it as a 32-bit integer.
Call it
// TASK::TASK_VEHICLE_CHASE
invoke<Void>(0xFC9C4CACC3F7571C, driver, targetEnt, p2);// TASK::TASK_VEHICLE_CHASE
Function.Call((Hash)0xFC9C4CACC3F7571C, driver, targetEnt, p2);-- TASK::TASK_VEHICLE_CHASE
Citizen.InvokeNative(0xFC9C4CACC3F7571C, driver, targetEnt, p2)// TASK::TASK_VEHICLE_CHASE
Citizen.invokeNative("0xFC9C4CACC3F7571C", driver, targetEnt, p2);Generic call-by-hash templates in the style of the common GTA V / RDR2 script frameworks. Adapt the types to your tooling.
Improve this page
Know what this native does, a better name, or the real parameter types? Suggest an edit. A moderator reviews every suggestion, and approved edits credit you here.