The Lab
ENTITY native

IS_ENTITY_IN_AIR

returns BOOL2 paramsbuild 1207

Returns true if the entity is in the air.

Signature

C
BOOL IS_ENTITY_IN_AIR(Entity entity, Any p1); // 0x886E37EC497200B6 b1207

Parameters

#NameType
1entityEntity
2p1Any

Facts

Facts about IS_ENTITY_IN_AIR
Name
IS_ENTITY_IN_AIR
Hash
0x886E37EC497200B6
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(0x886E37EC497200B6, -- IS_ENTITY_IN_AIR
  PlayerPedId(), -- Entity entity
  0 -- Any p1
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x886E37EC497200B6", // IS_ENTITY_IN_AIR
  PlayerPedId(), // Entity entity
  0, // Any p1
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x886E37EC497200B6, // IS_ENTITY_IN_AIR
  API.PlayerPedId(), // Entity entity
  0 // Any p1
);
All ENTITY natives

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