isPedSprinting
IS_PED_SPRINTING0x57E457CD2C0FC168The GTA V native IS_PED_SPRINTING of the TASK namespace, as LS:MP client scripts call it: the global function isPedSprinting, in JavaScript and in Lua.
isPedSprinting(ped: Ped): booleanisPedSprinting(ped: Ped): booleanUsage
JavaScript
const result = isPedSprinting(ped);Lua
local result = isPedSprinting(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_SPRINTING(Ped ped)- Hash
0x57E457CD2C0FC168