TasksClient

isPedStrafing

IS_PED_STRAFING0xE45B7F222DE47E09

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

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Tasks TASK
In the game
BOOL IS_PED_STRAFING(Ped ped)
Hash
0xE45B7F222DE47E09

Open in the interactive natives reference