native
water
Methods
disable_water_lookup
Must be called every frame to take full effect.
function native.water.disable_water_lookup(): void
enable_water_lookup
function native.water.enable_water_lookup(): void
get_water_height
Checks against a global variable that is set by _SET_WORLD_WATER_TYPE. If that is set to one it will fail. Likely not the only issue but part of it.
function native.water.get_water_height(x: float, y: float, z: float, height: ptr int): bool
get_water_height_no_waves
function native.water.get_water_height_no_waves(x: float, y: float, z: float, height: ptr int): bool
test_probe_against_all_water
enum eScriptWaterTestResult
{
SCRIPT_WATER_TEST_RESULT_NONE,
SCRIPT_WATER_TEST_RESULT_WATER,
SCRIPT_WATER_TEST_RESULT_BLOCKED,
};
function native.water.test_probe_against_all_water(x1: float, y1: float, z1: float, x2: float, y2: float, z2: float, flags: int, intersection_pos: ref vec3): int
test_vertical_probe_against_all_water
Checks against a global variable that is set by _SET_WORLD_WATER_TYPE. If it's set to 1 (Guarma) it will fail.
See TEST_PROBE_AGAINST_ALL_WATER.
function native.water.test_vertical_probe_against_all_water(x: float, y: float, z: float, flags: int, water_height: ptr int): int
remove_extra_calming_quad
Only used in rcm_crackpot1 R* Script: p0 = 0
function native.water.remove_extra_calming_quad(index: int): void
_0x09a1c7dfdce54fbc
Called together with REMOVE_EXTRA_CALMING_QUAD in rcm_crackpot1 R* Script: p0 = 0
REMOVE*
function native.water._0x09a1c7dfdce54fbc(p0: int): void
_0xf0fbf193f1f5c0ea
Only used in fishing_core R* Script
function native.water._0xf0fbf193f1f5c0ea(ped: int): void
_0xa33f5069b0cb89b8
Only used in fishing_core R* Script
function native.water._0xa33f5069b0cb89b8(): void
_0xb34a6009a0db80b8
Used in bounty1, fanale3, sean1 R* Scripts
function native.water._0xb34a6009a0db80b8(entity: int): void
_set_ocean_guarma_water_quadrant
Only used in R* Script guama1
function native.water._set_ocean_guarma_water_quadrant(waves_height: float, p1: float, p2: int, p3: float, p4: float, p5: float, p6: float, waves_strength: float, p8: int): void
_reset_guarma_water_state
Only used in guama1 / guama3 R* Script
REQUEST* or RESET*
function native.water._reset_guarma_water_state(): void
_set_world_water_type
0 = World
1 = Guarma
function native.water._set_world_water_type(water_type: int): void
_get_world_water_type
function native.water._get_world_water_type(): int
_0x0dcec6a92e497e17
Only used in native_son1 R* Script: p1 = 1
function native.water._0x0dcec6a92e497e17(entity: int, p1: int): void
_0xe8126623008372aa
Only used in fussar1 / train_robbery2 R* Script
function native.water._0xe8126623008372aa(): void