TasksClient

isMoveBlendRatioSprinting

IS_MOVE_BLEND_RATIO_SPRINTING0x24A2AD74FA9814E2

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

SignatureJavaScript
isMoveBlendRatioSprinting(ped: Ped): boolean
SignatureLua
isMoveBlendRatioSprinting(ped: Ped): boolean

Usage

JavaScript
const result = isMoveBlendRatioSprinting(ped);
Lua
local result = isMoveBlendRatioSprinting(ped)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Tasks TASK
In the game
BOOL IS_MOVE_BLEND_RATIO_SPRINTING(Ped ped)
Hash
0x24A2AD74FA9814E2

Open in the interactive natives reference