int TEST_VERTICAL_PROBE_AGAINST_ALL_WATER(float x, float y, float z, int flag, float* height);
| Property |
Value |
| Native Name |
TEST_VERTICAL_PROBE_AGAINST_ALL_WATER |
| Hash |
0x2B3451FA1E3142E2 |
| Return Type |
BOOL |
| Build |
1207 |
| Parameters |
x (float), y (float), z (float), flag (int), height (float*) |
Description: 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.
Parameters
Usage
Lua (Direct):
local result = TestVerticalProbeAgainstAllWater(x, y, z, flag, height)
Lua (Hash):
local result = Citizen.InvokeNative(0x2B3451FA1E3142E2, x, y, z, flag, height)
Back to WATER