Game code
VEHICLE::SET_VEHICLE_SHOOT_AT_TARGET
0x99A4C19248641873 ·RVA 0x04A945B0
Signature
void SET_VEHICLE_SHOOT_AT_TARGET(
Ped driver,
Entity entity,
Vector3 target,
BOOL p3,
BOOL p4
);
The scripts pass 8 values to this native; the decoded signature lists 5 (arguments the game doesn't read are left out).
Parameters 5
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Ped | driver |
– |
| 1 | Entity | entity |
– |
| 2 | Vector3 | target |
– |
| 3 | BOOL | p3 |
– |
| 4 | BOOL | p4 |
– |
Returns
void Nothing.
Notes
- Names from GTA V; types from the game code, which differs from GTA V's signature:
- xTarget, yTarget and zTarget in GTA V are one Vector3 in GTA VI.
- p3 is not in GTA V's signature; the game reads it as a true/false value.
- p4 is not in GTA V's signature; the game reads it as a true/false value.
Call it
// VEHICLE::SET_VEHICLE_SHOOT_AT_TARGET
invoke<Void>(0x99A4C19248641873, driver, entity, target, p3, p4);// VEHICLE::SET_VEHICLE_SHOOT_AT_TARGET
Function.Call((Hash)0x99A4C19248641873, driver, entity, target, p3, p4);-- VEHICLE::SET_VEHICLE_SHOOT_AT_TARGET
Citizen.InvokeNative(0x99A4C19248641873, driver, entity, target, p3, p4)// VEHICLE::SET_VEHICLE_SHOOT_AT_TARGET
Citizen.invokeNative("0x99A4C19248641873", driver, entity, target, p3, p4);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.