water¶
disable_water_lookup¶
void native.water.disable_water_lookup()
enable_water_lookup¶
void native.water.enable_water_lookup()
get_water_height¶
bool native.water.get_water_height(float x, float y, float z, ptr int 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.
get_water_height_no_waves¶
bool native.water.get_water_height_no_waves(float x, float y, float z, ptr int height)
test_probe_against_all_water¶
int native.water.test_probe_against_all_water(float x1, float y1, float z1, float x2, float y2, float z2, int flags, ref vec3 intersection_pos)
enum eScriptWaterTestResult
{
SCRIPT_WATER_TEST_RESULT_NONE,
SCRIPT_WATER_TEST_RESULT_WATER,
SCRIPT_WATER_TEST_RESULT_BLOCKED,
};
test_vertical_probe_against_all_water¶
int native.water.test_vertical_probe_against_all_water(float x, float y, float z, int flags, ptr int water_height)
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.
remove_extra_calming_quad¶
void native.water.remove_extra_calming_quad(int index)
_0x09a1c7dfdce54fbc¶
void native.water._0x09a1c7dfdce54fbc(int p0)
_0xf0fbf193f1f5c0ea¶
void native.water._0xf0fbf193f1f5c0ea(int ped)
_0xa33f5069b0cb89b8¶
void native.water._0xa33f5069b0cb89b8()
_0xb34a6009a0db80b8¶
void native.water._0xb34a6009a0db80b8(int entity)
_set_ocean_guarma_water_quadrant¶
void native.water._set_ocean_guarma_water_quadrant(float waves_height, float p1, int p2, float p3, float p4, float p5, float p6, float waves_strength, int p8)
_reset_guarma_water_state¶
void native.water._reset_guarma_water_state()
_set_world_water_type¶
void native.water._set_world_water_type(int water_type)
_get_world_water_type¶
int native.water._get_world_water_type()
_0x0dcec6a92e497e17¶
void native.water._0x0dcec6a92e497e17(int entity, int p1)
_0xe8126623008372aa¶
void native.water._0xe8126623008372aa()