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