SetWaterHeight

From GT-MP
Jump to: navigation, search
SetWaterHeight
Client-Side Function
System-users.png Client-Side Javascript.png JavaScript

Sets the water height for the specified position and radius.

Dialog-warning.png Note: This feature is currently not in the API, or is currently not accurate on the wiki due to upcoming API changes. New API functions and changes will be released with the next update.

Syntax

In Javascript
Client-Side Function

API.setWaterHeight(float x, float y, float radius, float height);

Required Arguments

  • x parameter input should be in float type.
  • y parameter input should be in float type.
  • radius parameter input should be in float type.
  • height parameter input should be in float type.

Usage example

In Javascript
Client-Side Function

API.setWaterHeight(float x, float y, float radius, float height);

References