NetworkGetNetworkIdFromEntity — FiveM Natives
0xA11700682F3AD45C · NETWORK · all
Get the network id of the given entity An entity network id represents a given entity for other clients, it's a handle shared between clients, can be reconverted to a client entity handle.\ These (entity network IDs) can and will be reused, the network id will not change. If you need to refer to an entity across machines (clients, or the server), you should use its network id. Read more at Network and local IDs
Parameters
| Name | Type | Description |
|---|---|---|
| entity | Entity | the handle of the entity from which the network id should be taken |
Returns
int