RDR3 match
PED::IS_PED_SWIMMING_UNDER_WATER
0xAC66D0CB3FDB7965 ·RVA 0x04BD1A30
Signature
BOOL IS_PED_SWIMMING_UNDER_WATER(Ped ped);
The scripts pass 2 values to this native; the decoded signature lists 1 (arguments the game doesn't read are left out).
Parameters 1
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Ped | ped |
– |
Returns
BOOL
Call it
// PED::IS_PED_SWIMMING_UNDER_WATER
auto result = invoke<BOOL>(0xAC66D0CB3FDB7965, ped);// PED::IS_PED_SWIMMING_UNDER_WATER
bool result = Function.Call<bool>((Hash)0xAC66D0CB3FDB7965, ped);-- PED::IS_PED_SWIMMING_UNDER_WATER
local result = Citizen.InvokeNative(0xAC66D0CB3FDB7965, ped)// PED::IS_PED_SWIMMING_UNDER_WATER
const result = Citizen.invokeNative("0xAC66D0CB3FDB7965", ped);Generic call-by-hash templates in the style of the common GTA V / RDR2 script frameworks. Adapt the types to your tooling.
Improve this page
Know what this native does, a better name, or the real parameter types? Suggest an edit. A moderator reviews every suggestion, and approved edits credit you here.