isPedStrafing
IS_PED_STRAFING0xE45B7F222DE47E09The 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.
isPedStrafing(ped: Ped): booleanisPedStrafing(ped: Ped): booleanUsage
JavaScript
const result = isPedStrafing(ped);Lua
local result = isPedStrafing(ped)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Tasks TASK
- In the game
BOOL IS_PED_STRAFING(Ped ped)- Hash
0xE45B7F222DE47E09