NETWORK_SET_ENTITY_ONLY_EXISTS_FOR_PARTICIPANTS
if set to true other network players can't see it if set to false other network player can see it ^^ I attempted this by grabbing an object with GET_ENTITY_PLAYER_IS_FREE_AIMING_AT and setting this naive no matter the toggle he could sti…
Hash
0xF1CA12B18AEF5298Runtime name
NetworkSetEntityOnlyExistsForParticipantsNamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xF1CA12B18AEF5298Signature
void NETWORK_SET_ENTITY_ONLY_EXISTS_FOR_PARTICIPANTS(Entity entity, BOOL toggle);Parameters
| Name | Type | Description |
|---|---|---|
entity | Entity | — |
toggle | BOOL | — |
Returns void
Description
if set to true other network players can't see it
if set to false other network player can see it
=========================================
^^ I attempted this by grabbing an object with GET_ENTITY_PLAYER_IS_FREE_AIMING_AT and setting this naive no matter the toggle he could still see it.
pc or last gen?
^^ last-gen
Old name: _NETWORK_SET_ENTITY_INVISIBLE_TO_NETWORK
Usage
NetworkSetEntityOnlyExistsForParticipants(entity, toggle)
-- always works, by hash
Citizen.InvokeNative(0xF1CA12B18AEF5298, entity, toggle)JavaScript and C#
NetworkSetEntityOnlyExistsForParticipants(entity, toggle);
// by hash
Citizen.invokeNative('0xF1CA12B18AEF5298', entity, toggle);Function.Call((Hash)0xF1CA12B18AEF5298, entity, toggle);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.