{"hash":"0xCF143FB9","ns":"CFX","name":"GET_ACTIVE_PLAYERS","slug":"GET_ACTIVE_PLAYERS","official":true,"named":true,"luaName":"GetActivePlayers","game":"cfx","apiset":"client","returnType":"object","params":[],"returnsDescription":"An object containing a list of player indices.","summary":"Returns all player indices for 'active' physical players known to the client.","descriptions":[{"source":"cfx","format":"md","body":"Returns all player indices for 'active' physical players known to the client.\nThe data returned adheres to the following layout:\n\n```\n[127, 42, 13, 37]\n```"}],"examples":[],"aliases":[],"enums":[],"related":[],"sources":["cfx"],"doc":2,"url":"https://natives.borderlinerp.com/natives/CFX/GET_ACTIVE_PLAYERS","markdownUrl":"https://natives.borderlinerp.com/natives/CFX/GET_ACTIVE_PLAYERS.md","snippets":{"lua":"local retval = GetActivePlayers()","luaInvoke":"local retval = Citizen.InvokeNative(0xcf143fb9, Citizen.ResultAsObject2(msgpack.unpack))","js":"const retval = GetActivePlayers();","jsInvoke":"const retval = Citizen.invokeNative('0xcf143fb9', Citizen.returnResultAnyway(), Citizen.resultAsObject2());","csharp":"Function.Call((Hash)0xcf143fb9);","notes":[]}}