DOES_EXTRA_EXIST
Hash
0xAF5E7E9A7620FFB5Runtime name
DoesExtraExistNamespaceVEHICLE
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x1262D55792428154Signature
BOOL DOES_EXTRA_EXIST(Vehicle vehicle, int extraId);Parameters
| Name | Type | Description |
|---|---|---|
vehicle | Vehicle | — |
extraId | int | — |
Returns BOOL
Usage
local retval = DoesExtraExist(vehicle, extraId)
-- always works, by hash
local retval = Citizen.InvokeNative(0xAF5E7E9A7620FFB5, vehicle, extraId, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = DoesExtraExist(vehicle, extraId);
// by hash
const retval = Citizen.invokeNative('0xAF5E7E9A7620FFB5', vehicle, extraId, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0xAF5E7E9A7620FFB5, vehicle, extraId);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.