{"hash":"0x6DB875AFC584FA32","ns":"PED","name":"_SET_PED_MELEE_FORCED_DURATION","slug":"_SET_PED_MELEE_FORCED_DURATION","official":false,"named":true,"luaName":"SetPedMeleeForcedDuration","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"ped","type":"Ped"},{"name":"durationMs","type":"int"}],"summary":"If the ped has an active TASK_MELEE, force-keep it active for durationMs starting now; returns true on success (no effect if melee task not running).","descriptions":[{"source":"alloc8or","format":"text","body":"If the ped has an active TASK_MELEE, force-keep it active for durationMs starting now; returns true on success (no effect if melee task not running)."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PED/_SET_PED_MELEE_FORCED_DURATION","markdownUrl":"https://natives.borderlinerp.com/natives/PED/_SET_PED_MELEE_FORCED_DURATION.md","snippets":{"lua":"local retval = SetPedMeleeForcedDuration(ped, durationMs)","luaInvoke":"local retval = Citizen.InvokeNative(0x6DB875AFC584FA32, ped, durationMs, Citizen.ReturnResultAnyway())","js":"const retval = SetPedMeleeForcedDuration(ped, durationMs);","jsInvoke":"const retval = Citizen.invokeNative('0x6DB875AFC584FA32', ped, durationMs, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0x6DB875AFC584FA32, ped, durationMs);","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."]}}