IS_ENTITY_IN_AIR
Returns true if the entity is in the air.
Signature
BOOL IS_ENTITY_IN_AIR(Entity entity, Any p1); // 0x886E37EC497200B6 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | entity | Entity |
| 2 | p1 | Any |
Facts
| 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.
local result = Citizen.InvokeNative(0x886E37EC497200B6, -- IS_ENTITY_IN_AIR
PlayerPedId(), -- Entity entity
0 -- Any p1
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x886E37EC497200B6", // IS_ENTITY_IN_AIR
PlayerPedId(), // Entity entity
0, // Any p1
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x886E37EC497200B6, // IS_ENTITY_IN_AIR
API.PlayerPedId(), // Entity entity
0 // Any p1
);Related ENTITY natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.