{"hash":"0xB464EB6A40C7975B","ns":"PLAYER","name":"GET_PLAYER_TEAM","slug":"GET_PLAYER_TEAM","official":true,"named":true,"luaName":"GetPlayerTeam","game":"rdr3","apiset":"client","returnType":"int","params":[{"name":"player","type":"Player"}],"summary":"Gets the player's team.","descriptions":[{"source":"alloc8or","format":"text","body":"Gets the player's team.\nReturns -1 in singleplayer."}],"examples":[],"aliases":[],"enums":[],"related":["0xE8DD8536F01DE600"],"build":"1207","gtaHash":"0x37039302F4E0A008","gtaJhash":"0x9873E404","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PLAYER/GET_PLAYER_TEAM","markdownUrl":"https://natives.borderlinerp.com/natives/PLAYER/GET_PLAYER_TEAM.md","snippets":{"lua":"local retval = GetPlayerTeam(player)","luaInvoke":"local retval = Citizen.InvokeNative(0xB464EB6A40C7975B, player, Citizen.ResultAsInteger())","js":"const retval = GetPlayerTeam(player);","jsInvoke":"const retval = Citizen.invokeNative('0xB464EB6A40C7975B', player, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0xB464EB6A40C7975B, player);","notes":[]}}