NETWORK_SET_ENTITY_REMAINS_WHEN_UNNETWORKED
Hash
0xD785864798258032Runtime name
NetworkSetEntityRemainsWhenUnnetworkedNamespaceNETWORK
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
| Name | Type | Description |
|---|---|---|
entity | Entity | — |
toggle | BOOL | — |
Returns void
Usage
NetworkSetEntityRemainsWhenUnnetworked(entity, toggle)
-- always works, by hash
Citizen.InvokeNative(0xD785864798258032, entity, toggle)JavaScript and C#
NetworkSetEntityRemainsWhenUnnetworked(entity, toggle);
// by hash
Citizen.invokeNative('0xD785864798258032', entity, toggle);Function.Call((Hash)0xD785864798258032, entity, toggle);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.