RedM Natives

NETWORK_SET_ENTITY_REMAINS_WHEN_UNNETWORKED

Hash0xD785864798258032
Runtime nameNetworkSetEntityRemainsWhenUnnetworked
NamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207

Not called by the game's own scripts — behaviour may be incomplete.

Signature

void NETWORK_SET_ENTITY_REMAINS_WHEN_UNNETWORKED(Entity entity, BOOL toggle);

Parameters

NameTypeDescription
entityEntity—
toggleBOOL—

Returns void

Usage

Lua
NetworkSetEntityRemainsWhenUnnetworked(entity, toggle)

-- always works, by hash
Citizen.InvokeNative(0xD785864798258032, entity, toggle)
JavaScript and C#
JavaScript
NetworkSetEntityRemainsWhenUnnetworked(entity, toggle);

// by hash
Citizen.invokeNative('0xD785864798258032', entity, toggle);
C#
Function.Call((Hash)0xD785864798258032, entity, toggle);

Sources

alloc8or RDR3 NativeDB

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