{"hash":"0xA4A79DD2D9600654","ns":"NETWORK","name":"NETWORK_GET_NUM_CONNECTED_PLAYERS","slug":"NETWORK_GET_NUM_CONNECTED_PLAYERS","official":true,"named":true,"luaName":"NetworkGetNumConnectedPlayers","game":"rdr3","apiset":"client","returnType":"int","params":[],"summary":"Returns the amount of players connected in the current session.","descriptions":[{"source":"alloc8or","format":"text","body":"Returns the amount of players connected in the current session. Only works when connected to a session/server."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0xA4A79DD2D9600654","gtaJhash":"0xF7952E62","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/NETWORK/NETWORK_GET_NUM_CONNECTED_PLAYERS","markdownUrl":"https://natives.borderlinerp.com/natives/NETWORK/NETWORK_GET_NUM_CONNECTED_PLAYERS.md","snippets":{"lua":"local retval = NetworkGetNumConnectedPlayers()","luaInvoke":"local retval = Citizen.InvokeNative(0xA4A79DD2D9600654, Citizen.ResultAsInteger())","js":"const retval = NetworkGetNumConnectedPlayers();","jsInvoke":"const retval = Citizen.invokeNative('0xA4A79DD2D9600654', Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0xA4A79DD2D9600654);","notes":[]}}