RedM Natives

IS_PED_SWIMMING

Hash0x9DE327631295B4C2
Runtime nameIsPedSwimming
NamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x9DE327631295B4C2

Signature

BOOL IS_PED_SWIMMING(Ped ped);

Parameters

NameTypeDescription
pedPed—

Returns BOOL

Usage

Lua
local retval = IsPedSwimming(ped)

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

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

Sources

alloc8or RDR3 NativeDB

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