RedM Natives

NETWORK_REQUEST_CONTROL_OF_ENTITY

Hash0xB69317BF5E782347
Runtime nameNetworkRequestControlOfEntity
NamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xB69317BF5E782347

Signature

BOOL NETWORK_REQUEST_CONTROL_OF_ENTITY(Entity entity);

Parameters

NameTypeDescription
entityEntity—

Returns BOOL

Usage

Lua
local retval = NetworkRequestControlOfEntity(entity)

-- always works, by hash
local retval = Citizen.InvokeNative(0xB69317BF5E782347, entity, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = NetworkRequestControlOfEntity(entity);

// by hash
const retval = Citizen.invokeNative('0xB69317BF5E782347', entity, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0xB69317BF5E782347, entity);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.