The Lab
VEHICLE native

DOES_EXTRA_EXIST

returns BOOL2 paramsbuild 1207

Returns true if vehicle has the extra extraId.

Signature

C
BOOL DOES_EXTRA_EXIST(Vehicle vehicle, int extraId); // 0xAF5E7E9A7620FFB5 b1207

Parameters

#NameType
1vehicleVehicle
2extraIdint

Facts

Facts about DOES_EXTRA_EXIST
Name
DOES_EXTRA_EXIST
Hash
0xAF5E7E9A7620FFB5
Namespace
Returns
BOOL
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0xAF5E7E9A7620FFB5, -- DOES_EXTRA_EXIST
  0, -- Vehicle vehicle
  0 -- int extraId
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0xAF5E7E9A7620FFB5", // DOES_EXTRA_EXIST
  0, // Vehicle vehicle
  0, // int extraId
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0xAF5E7E9A7620FFB5, // DOES_EXTRA_EXIST
  0, // Vehicle vehicle
  0 // int extraId
);
All VEHICLE natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.