RDR3 match
VEHICLE::GET_VEHICLE_PETROL_TANK_HEALTH
0x92AF6741E1A564CA ·RVA 0x04A87020
Signature
float GET_VEHICLE_PETROL_TANK_HEALTH(Vehicle vehicle);
The scripts pass 2 values to this native; the decoded signature lists 1 (arguments the game doesn't read are left out).
Parameters 1
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Vehicle | vehicle |
– |
Returns
float
Call it
// VEHICLE::GET_VEHICLE_PETROL_TANK_HEALTH
auto result = invoke<float>(0x92AF6741E1A564CA, vehicle);// VEHICLE::GET_VEHICLE_PETROL_TANK_HEALTH
float result = Function.Call<float>((Hash)0x92AF6741E1A564CA, vehicle);-- VEHICLE::GET_VEHICLE_PETROL_TANK_HEALTH
local result = Citizen.InvokeNative(0x92AF6741E1A564CA, vehicle)// VEHICLE::GET_VEHICLE_PETROL_TANK_HEALTH
const result = Citizen.invokeNative("0x92AF6741E1A564CA", vehicle);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.