RedM Natives

IS_PED_SPRINTING

Hash0x57E457CD2C0FC168
Runtime nameIsPedSprinting
NamespaceTASK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x57E457CD2C0FC168

Signature

BOOL IS_PED_SPRINTING(Ped ped);

Parameters

NameTypeDescription
pedPed—

Returns BOOL

Usage

Lua
local retval = IsPedSprinting(ped)

-- always works, by hash
local retval = Citizen.InvokeNative(0x57E457CD2C0FC168, ped, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = IsPedSprinting(ped);

// by hash
const retval = Citizen.invokeNative('0x57E457CD2C0FC168', ped, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x57E457CD2C0FC168, ped);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.