_GET_PED_WRITHE_BREAK_FREE_PROGRESS
Returns the current 'Break Free' prompt progress for a hogtied/knocked-out (writhing) ped.
Hash
0x03D741CB4052E26CRuntime name
GetPedWritheBreakFreeProgressNamespaceTASK
SideClient
NameCommunity guess
Docs
Since build1232
Also known as
_GET_PED_BREAK_FREE_PROGRESSSignature
float _GET_PED_WRITHE_BREAK_FREE_PROGRESS(Ped ped);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
Returns float
Description
Returns the current 'Break Free' prompt progress for a hogtied/knocked-out (writhing) ped.
Range: 0.0-1.0 (hits 1.0 when the ped breaks free). Returns -1.0 if not applicable.
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.
Usage
local retval = GetPedWritheBreakFreeProgress(ped)
-- always works, by hash
local retval = Citizen.InvokeNative(0x03D741CB4052E26C, ped, Citizen.ResultAsFloat())JavaScript and C#
const retval = GetPedWritheBreakFreeProgress(ped);
// by hash
const retval = Citizen.invokeNative('0x03D741CB4052E26C', ped, Citizen.returnResultAnyway(), Citizen.resultAsFloat());float retval = Function.Call<float>((Hash)0x03D741CB4052E26C, ped);- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Examples
local progress = Citizen.InvokeNative(0x03D741CB4052E26C, PlayerPedId(), Citizen.ResultAsFloat())
--progress will be between 0.0 and 1.0 depending on how far the break free action has advanced.Sources
alloc8or RDR3 NativeDB · VORPCORE RDR3natives
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.