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