{"hash":"0xC31C44C43B48FDE3","ns":"ANTICHEAT","name":"_REPORT_PLAYER_BAD_SPORT_BEHAVIOR","slug":"_REPORT_PLAYER_BAD_SPORT_BEHAVIOR","official":false,"named":true,"luaName":"ReportPlayerBadSportBehavior","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"gamerHandle","type":"Any*"},{"name":"badSportBehaviorType","type":"int"}],"summary":"nullsub, doesn't do anything however it is being used in tty scripts: [NET_BAD_SPORT_REPORT_PLAYER] Detected bad sport behavior from Player","descriptions":[{"source":"alloc8or","format":"text","body":"nullsub, doesn't do anything\nhowever it is being used in tty scripts: [NET_BAD_SPORT_REPORT_PLAYER] Detected bad sport behavior from Player\nbadSportBehavior: BS_QUITTER = 0, BS_VEHICLE_DESTRUCTION = 1, BS_VOTED_OUT = 2"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/ANTICHEAT/_REPORT_PLAYER_BAD_SPORT_BEHAVIOR","markdownUrl":"https://natives.borderlinerp.com/natives/ANTICHEAT/_REPORT_PLAYER_BAD_SPORT_BEHAVIOR.md","snippets":{"lua":"local gamerHandle = ReportPlayerBadSportBehavior(badSportBehaviorType)","luaInvoke":"local gamerHandle = Citizen.InvokeNative(0xC31C44C43B48FDE3, Citizen.PointerValueInt(), badSportBehaviorType)","js":"const gamerHandle = ReportPlayerBadSportBehavior(badSportBehaviorType);","jsInvoke":"const gamerHandle = Citizen.invokeNative('0xC31C44C43B48FDE3', Citizen.pointerValueInt(), badSportBehaviorType);","csharp":"var gamerHandle = new OutputArgument();\nFunction.Call((Hash)0xC31C44C43B48FDE3, gamerHandle, badSportBehaviorType);\n// gamerHandle.GetResult<int>()","notes":["Pointer (out) arguments are not passed in Lua/JS: their values are returned after the result, in order.","`Any*` arguments are often structs. Build them with a DataView buffer and pass it with `:Buffer()` — see the examples and notes below.","The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}