TasksClient

getPedDesiredMoveBlendRatio

GET_PED_DESIRED_MOVE_BLEND_RATIO0x8517D4A6CA8513ED

The GTA V native GET_PED_DESIRED_MOVE_BLEND_RATIO of the TASK namespace, as LS:MP client scripts call it: the global function getPedDesiredMoveBlendRatio, in JavaScript and in Lua.

SignatureJavaScript
getPedDesiredMoveBlendRatio(ped: Ped): number
SignatureLua
getPedDesiredMoveBlendRatio(ped: Ped): number

Usage

JavaScript
const value = getPedDesiredMoveBlendRatio(ped);
Lua
local value = getPedDesiredMoveBlendRatio(ped)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

float JavaScript number, Lua number

Reference

Namespace
Tasks TASK
In the game
float GET_PED_DESIRED_MOVE_BLEND_RATIO(Ped ped)
Hash
0x8517D4A6CA8513ED

Open in the interactive natives reference