RedM Natives

GET_PED_DESIRED_MOVE_BLEND_RATIO

Hash0x8517D4A6CA8513ED
Runtime nameGetPedDesiredMoveBlendRatio
NamespaceTASK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x8517D4A6CA8513ED

Signature

float GET_PED_DESIRED_MOVE_BLEND_RATIO(Ped ped);

Parameters

NameTypeDescription
pedPed—

Returns float

Usage

Lua
local retval = GetPedDesiredMoveBlendRatio(ped)

-- always works, by hash
local retval = Citizen.InvokeNative(0x8517D4A6CA8513ED, ped, Citizen.ResultAsFloat())
JavaScript and C#
JavaScript
const retval = GetPedDesiredMoveBlendRatio(ped);

// by hash
const retval = Citizen.invokeNative('0x8517D4A6CA8513ED', ped, Citizen.returnResultAnyway(), Citizen.resultAsFloat());
C#
float retval = Function.Call<float>((Hash)0x8517D4A6CA8513ED, ped);

See also

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.