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