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