IS_PED_SWIMMING_UNDER_WATER
Hash
0xC024869A53992F34Runtime name
IsPedSwimmingUnderWaterNamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xC024869A53992F34Signature
BOOL IS_PED_SWIMMING_UNDER_WATER(Ped ped);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
Returns BOOL
Usage
local retval = IsPedSwimmingUnderWater(ped)
-- always works, by hash
local retval = Citizen.InvokeNative(0xC024869A53992F34, ped, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsPedSwimmingUnderWater(ped);
// by hash
const retval = Citizen.invokeNative('0xC024869A53992F34', ped, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0xC024869A53992F34, ped);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.