{"hash":"0x42AC6401ABB8C7E5","ns":"TASK","name":"TASK_KNOCKED_OUT_AND_HOGTIED","slug":"TASK_KNOCKED_OUT_AND_HOGTIED","official":true,"named":true,"luaName":"TaskKnockedOutAndHogtied","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"ped","type":"Ped"},{"name":"koTimeOffset","type":"float"},{"name":"flags","type":"int"}],"summary":"koTimeOffset (seconds): offset applied to the knockout timer-positive delays recovery (longer KO), negative brings recovery sooner, 0.0 initializes with no extension (immediate baseline).","descriptions":[{"source":"alloc8or","format":"text","body":"koTimeOffset (seconds): offset applied to the knockout timer-positive delays recovery (longer KO), negative brings recovery sooner, 0.0 initializes with no extension (immediate baseline).\nflags (bitmask): 1 = default variant (forwarded to the KO task ctor; R* commonly uses 1), 2 = sets an unk internal synced toggle for this task, 4 = sets another unk internal synced toggle."},{"source":"vorp","format":"text","body":"koTimeOffset (seconds): offset applied to the knockout timer—positive delays recovery (longer KO), negative brings recovery sooner, 0.0 initializes with no extension (immediate baseline).\nflags (bitmask): 1 = default variant (forwarded to the KO task ctor; R* commonly uses 1), 2 = sets an unk internal synced toggle for this task, 4 = sets another unk internal synced toggle."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/TASK/TASK_KNOCKED_OUT_AND_HOGTIED","markdownUrl":"https://natives.borderlinerp.com/natives/TASK/TASK_KNOCKED_OUT_AND_HOGTIED.md","snippets":{"lua":"TaskKnockedOutAndHogtied(ped, koTimeOffset, flags)","luaInvoke":"Citizen.InvokeNative(0x42AC6401ABB8C7E5, ped, koTimeOffset, flags)","js":"TaskKnockedOutAndHogtied(ped, koTimeOffset, flags);","jsInvoke":"Citizen.invokeNative('0x42AC6401ABB8C7E5', ped, koTimeOffset + 0.0000001, flags);","csharp":"Function.Call((Hash)0x42AC6401ABB8C7E5, ped, koTimeOffset, flags);","notes":["Float parameters: Lua integers (`10`, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write `10.0` or `value + 0.0`. The generated JS wrappers add `0.0000001` to non-zero floats for the same reason."]}}