RedM Natives

IS_PED_DIVING

Hash0x5527B8246FEF9B11
Runtime nameIsPedDiving
NamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x5527B8246FEF9B11

Signature

BOOL IS_PED_DIVING(Ped ped);

Parameters

NameTypeDescription
pedPed—

Returns BOOL

Usage

Lua
local retval = IsPedDiving(ped)

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

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

Sources

alloc8or RDR3 NativeDB

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