The Lab
TASK native

GET_PED_DESIRED_MOVE_BLEND_RATIO

returns float1 parambuild 1207

Returns the move blend ratio ped is trying to reach, where higher values mean faster movement.

Signature

C
float GET_PED_DESIRED_MOVE_BLEND_RATIO(Ped ped); // 0x8517D4A6CA8513ED b1207

Parameters

#NameType
1pedPed

Facts

Facts about GET_PED_DESIRED_MOVE_BLEND_RATIO
Name
GET_PED_DESIRED_MOVE_BLEND_RATIO
Hash
0x8517D4A6CA8513ED
Namespace
Returns
float
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0x8517D4A6CA8513ED, -- GET_PED_DESIRED_MOVE_BLEND_RATIO
  PlayerPedId(), -- Ped ped
  Citizen.ResultAsFloat()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0x8517D4A6CA8513ED", // GET_PED_DESIRED_MOVE_BLEND_RATIO
  PlayerPedId(), // Ped ped
  Citizen.resultAsFloat()
);
console.log(result)
C#
float result = Function.Call<float>((Hash)0x8517D4A6CA8513ED, // GET_PED_DESIRED_MOVE_BLEND_RATIO
  API.PlayerPedId() // Ped ped
);
All TASK natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.