Water::modifyWater: Difference between revisions
(yay) |
(yay) |
||
| Line 1: | Line 1: | ||
Sets the water height for a given position and radius.<br> | Sets the water height for a given position and radius.<br> | ||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="javascript">water.modifyWater(x, y, radius, height);</syntaxhighlight> | <syntaxhighlight lang="javascript">mp.game.water.modifyWater(x, y, radius, height);</syntaxhighlight> | ||
=== Required Arguments === | === Required Arguments === | ||
*'''x:''' float | *'''x:''' float | ||
| Line 11: | Line 11: | ||
==Example== | ==Example== | ||
<syntaxhighlight lang="javascript"> | <syntaxhighlight lang="javascript"> | ||
todo | // todo | ||
</syntaxhighlight> | </syntaxhighlight> | ||
==See also== | ==See also== | ||
{{ | {{Water_s_function_c}} | ||
[[Category:Clientside API]] | [[Category:Clientside API]] | ||
[[Category:TODO: Example]] | [[Category:TODO: Example]] | ||
Latest revision as of 21:35, 6 May 2017
Sets the water height for a given position and radius.
Syntax
mp.game.water.modifyWater(x, y, radius, height);
Required Arguments
- x: float
- y: float
- radius: float
- height: float
Return value
- Undefined
Example
// todo