RedM Natives

_GET_WORLD_WATER_TYPE

Hash0x189739A7631C1867
Runtime nameGetWorldWaterType
NamespaceWATER
SideClient
NameCommunity guess
Docs
Since build1207

Signature

int _GET_WORLD_WATER_TYPE();

Returns int

Description

femga rdr3_discoveries · research notes

// 0x189739A7631C1867
int _GET_WORLD_WATER_TYPE()

Usage

Lua
local retval = GetWorldWaterType()

-- always works, by hash
local retval = Citizen.InvokeNative(0x189739A7631C1867, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = GetWorldWaterType();

// by hash
const retval = Citizen.invokeNative('0x189739A7631C1867', Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0x189739A7631C1867);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

See also

Sources

alloc8or RDR3 NativeDB · femga rdr3_discoveries

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