{"hash":"0xF90427F00A495A28","ns":"TASK","name":"TASK_KNOCKED_OUT","slug":"TASK_KNOCKED_OUT","official":true,"named":true,"luaName":"TaskKnockedOut","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"ped","type":"Ped"},{"name":"p1","type":"float"},{"name":"permanently","type":"BOOL"}],"summary":"Puts the ped into a knocked out state for a specified duration.","descriptions":[{"source":"vorp","format":"text","body":"Puts the ped into a knocked out state for a specified duration. If 'permanently' is set to true, the ped will remain knocked out until mainually reset. Duration in seconds."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/TASK/TASK_KNOCKED_OUT","markdownUrl":"https://natives.borderlinerp.com/natives/TASK/TASK_KNOCKED_OUT.md","snippets":{"lua":"TaskKnockedOut(ped, p1, permanently)","luaInvoke":"Citizen.InvokeNative(0xF90427F00A495A28, ped, p1, permanently)","js":"TaskKnockedOut(ped, p1, permanently);","jsInvoke":"Citizen.invokeNative('0xF90427F00A495A28', ped, p1 + 0.0000001, permanently);","csharp":"Function.Call((Hash)0xF90427F00A495A28, ped, p1, permanently);","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."]}}