IS_ENTITY_ATTACHED_TO_ANY_VEHICLE
Hash
0x12DF6E0D2E736749Runtime name
IsEntityAttachedToAnyVehicleNamespaceENTITY
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x26AA915AD89BFB4BSignature
BOOL IS_ENTITY_ATTACHED_TO_ANY_VEHICLE(Entity entity);Parameters
| Name | Type | Description |
|---|---|---|
entity | Entity | — |
Returns BOOL
Usage
local retval = IsEntityAttachedToAnyVehicle(entity)
-- always works, by hash
local retval = Citizen.InvokeNative(0x12DF6E0D2E736749, entity, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsEntityAttachedToAnyVehicle(entity);
// by hash
const retval = Citizen.invokeNative('0x12DF6E0D2E736749', entity, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x12DF6E0D2E736749, entity);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.