{"hash":"0x769E848C66E3C2BB","ns":"MISC","name":"SCRIPT_RACE_GET_PLAYER_SPLIT_TIME","slug":"SCRIPT_RACE_GET_PLAYER_SPLIT_TIME","official":true,"named":true,"luaName":"ScriptRaceGetPlayerSplitTime","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"p0","type":"Any"},{"name":"p1","type":"Any*"},{"name":"p2","type":"Any*"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0x8EF5573A1F801A5C","gtaJhash":"0x07FF553F","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/MISC/SCRIPT_RACE_GET_PLAYER_SPLIT_TIME","markdownUrl":"https://natives.borderlinerp.com/natives/MISC/SCRIPT_RACE_GET_PLAYER_SPLIT_TIME.md","snippets":{"lua":"local retval, p1, p2 = ScriptRaceGetPlayerSplitTime(p0)","luaInvoke":"local retval, p1, p2 = Citizen.InvokeNative(0x769E848C66E3C2BB, p0, Citizen.PointerValueInt(), Citizen.PointerValueInt(), Citizen.ReturnResultAnyway())","js":"const [retval, p1, p2] = ScriptRaceGetPlayerSplitTime(p0);","jsInvoke":"const [retval, p1, p2] = Citizen.invokeNative('0x769E848C66E3C2BB', p0, Citizen.pointerValueInt(), Citizen.pointerValueInt(), Citizen.returnResultAnyway());","csharp":"var p1 = new OutputArgument();\nvar p2 = new OutputArgument();\nbool retval = Function.Call<bool>((Hash)0x769E848C66E3C2BB, p0, p1, p2);\n// p1.GetResult<int>()\n// p2.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."]}}