{"hash":"0x03D741CB4052E26C","ns":"TASK","name":"_GET_PED_WRITHE_BREAK_FREE_PROGRESS","slug":"_GET_PED_WRITHE_BREAK_FREE_PROGRESS","official":false,"named":true,"luaName":"GetPedWritheBreakFreeProgress","game":"rdr3","apiset":"client","returnType":"float","params":[{"name":"ped","type":"Ped"}],"summary":"Returns the current 'Break Free' prompt progress for a hogtied/knocked-out (writhing) ped.","descriptions":[{"source":"alloc8or","format":"text","body":"Returns the current 'Break Free' prompt progress for a hogtied/knocked-out (writhing) ped.\nRange: 0.0-1.0 (hits 1.0 when the ped breaks free). Returns -1.0 if not applicable."},{"source":"vorp","format":"text","body":"Returns the current progress of the (Break Free) prompt when the specified ped is hogtied or knocked out.  The value increases as the player spams the prompt key until it reaches 1.0, at which point the ped breaks free."}],"examples":[{"lang":"lua","code":"local progress = Citizen.InvokeNative(0x03D741CB4052E26C, PlayerPedId(), Citizen.ResultAsFloat())\n--progress will be between 0.0 and 1.0 depending on how far the break free action has advanced.","source":"vorp"}],"aliases":["_GET_PED_BREAK_FREE_PROGRESS"],"enums":[],"related":[],"build":"1232","sources":["alloc8or","vorp"],"doc":3,"url":"https://natives.borderlinerp.com/natives/TASK/_GET_PED_WRITHE_BREAK_FREE_PROGRESS","markdownUrl":"https://natives.borderlinerp.com/natives/TASK/_GET_PED_WRITHE_BREAK_FREE_PROGRESS.md","snippets":{"lua":"local retval = GetPedWritheBreakFreeProgress(ped)","luaInvoke":"local retval = Citizen.InvokeNative(0x03D741CB4052E26C, ped, Citizen.ResultAsFloat())","js":"const retval = GetPedWritheBreakFreeProgress(ped);","jsInvoke":"const retval = Citizen.invokeNative('0x03D741CB4052E26C', ped, Citizen.returnResultAnyway(), Citizen.resultAsFloat());","csharp":"float retval = Function.Call<float>((Hash)0x03D741CB4052E26C, ped);","notes":["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."]}}