_IS_ENTITY_OWNED_BY_PERSISTENCE_SYSTEM
Hash
0xA7E51B53309EAC97Runtime name
IsEntityOwnedByPersistenceSystemNamespaceENTITY
SideClient
NameCommunity guess
Docs
Since build1207
Signature
BOOL _IS_ENTITY_OWNED_BY_PERSISTENCE_SYSTEM(Entity entity);Parameters
| Name | Type | Description |
|---|---|---|
entity | Entity | — |
Returns BOOL
Usage
local retval = IsEntityOwnedByPersistenceSystem(entity)
-- always works, by hash
local retval = Citizen.InvokeNative(0xA7E51B53309EAC97, entity, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsEntityOwnedByPersistenceSystem(entity);
// by hash
const retval = Citizen.invokeNative('0xA7E51B53309EAC97', entity, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0xA7E51B53309EAC97, entity);- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.