IS_AN_ENTITY
Returns true if the handle refers to an entity.
Signature
BOOL IS_AN_ENTITY(ScrHandle handle); // 0x27CFF3E5A286D3DF b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | handle | ScrHandle |
Facts
| Name | IS_AN_ENTITY |
|---|---|
| Hash | 0x27CFF3E5A286D3DF |
| 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(0x27CFF3E5A286D3DF, -- IS_AN_ENTITY
0 -- ScrHandle handle
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x27CFF3E5A286D3DF", // IS_AN_ENTITY
0, // ScrHandle handle
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x27CFF3E5A286D3DF, // IS_AN_ENTITY
0 // ScrHandle handle
);Related ENTITY natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.