NETWORK_GET_NETWORK_ID_FROM_ROPE_ID
Hash
0x42871327315EDAE8Runtime name
NetworkGetNetworkIdFromRopeIdNamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207
Signature
int NETWORK_GET_NETWORK_ID_FROM_ROPE_ID(int ropeId);Parameters
| Name | Type | Description |
|---|---|---|
ropeId | int | — |
Returns int
Usage
local retval = NetworkGetNetworkIdFromRopeId(ropeId)
-- always works, by hash
local retval = Citizen.InvokeNative(0x42871327315EDAE8, ropeId, Citizen.ResultAsInteger())JavaScript and C#
const retval = NetworkGetNetworkIdFromRopeId(ropeId);
// by hash
const retval = Citizen.invokeNative('0x42871327315EDAE8', ropeId, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x42871327315EDAE8, ropeId);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.