RDR3 match
VEHICLE::IS_VEHICLE_MODEL
0x385DDBAAFFBA5AB1 ·RVA 0x04A8A2F0
Signature
BOOL IS_VEHICLE_MODEL(Vehicle vehicle, Hash64 model);
The scripts pass 3 values to this native; the decoded signature lists 2 (arguments the game doesn't read are left out).
Parameters 2
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Vehicle | vehicle |
– |
| 1 | Hash64 | model |
RDR3 takes a Hash; GTA VI passes a 64-bit hash (the game reads 64 bits, and the scripts pass a value, not an address). |
Returns
BOOL
Call it
// VEHICLE::IS_VEHICLE_MODEL
auto result = invoke<BOOL>(0x385DDBAAFFBA5AB1, vehicle, model);// VEHICLE::IS_VEHICLE_MODEL
bool result = Function.Call<bool>((Hash)0x385DDBAAFFBA5AB1, vehicle, model);-- VEHICLE::IS_VEHICLE_MODEL
local result = Citizen.InvokeNative(0x385DDBAAFFBA5AB1, vehicle, model)// VEHICLE::IS_VEHICLE_MODEL
const result = Citizen.invokeNative("0x385DDBAAFFBA5AB1", vehicle, model);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.