DOES_EXTRA_EXIST
Returns true if vehicle has the extra extraId.
Signature
BOOL DOES_EXTRA_EXIST(Vehicle vehicle, int extraId); // 0xAF5E7E9A7620FFB5 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | vehicle | Vehicle |
| 2 | extraId | int |
Facts
| 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.
local result = Citizen.InvokeNative(0xAF5E7E9A7620FFB5, -- DOES_EXTRA_EXIST
0, -- Vehicle vehicle
0 -- int extraId
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xAF5E7E9A7620FFB5", // DOES_EXTRA_EXIST
0, // Vehicle vehicle
0, // int extraId
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xAF5E7E9A7620FFB5, // DOES_EXTRA_EXIST
0, // Vehicle vehicle
0 // int extraId
);Related VEHICLE natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.