Search results

Jump to navigation Jump to search
  • ...lygon. You can create water elements with [[createWater]] or through a &lt;water/&gt; map element. <syntaxhighlight lang="xml"><water posX1="" posY1="" posZ1="" posX2="" posY2="" posZ2="" posX3="" posY3="" pos
    1 KB (183 words) - 18:46, 15 April 2021
  • ...ction resets the water of the GTA world back to its default level. [[water|Water elements]] are not affected. {{OOP||[[Water]].resetLevel}}
    739 bytes (79 words) - 14:30, 7 August 2016
  • ...lygon. You can create water elements with [[createWater]] or through a &lt;water/&gt; map element. <syntaxhighlight lang="xml"><water posX1="" posY1="" posZ1="" posX2="" posY2="" posZ2="" posX3="" posY3="" pos
    1 KB (185 words) - 18:50, 15 April 2021
  • This function reset the water color of the GTA world to default. {{OOP||[[Water]].resetColor}}
    634 bytes (69 words) - 14:30, 7 August 2016
  • Gets the world position of a vertex (i.e. corner) of a [[water]] area. Each water area is either a triangle or quad (rectangle) so each has 3 or 4 corners. <syntaxhighlight lang="lua">int int float getWaterVertexPosition ( water theWater, int vertexIndex )</syntaxhighlight>
    1 KB (151 words) - 17:10, 2 January 2022
  • This function determines whether [[water]] is drawn last in the rendering order. Returns ''true'' if water is drawn last in the rendering order, ''false'' otherwise.
    813 bytes (81 words) - 14:33, 5 January 2014
  • This function changes the water color of the GTA world. {{OOP||[[water]]:setColor||getWaterColor}}
    1 KB (191 words) - 15:02, 7 August 2016
  • This function changes the [[water]] rendering order. *'''bEnabled''': A boolean value determining whether water should be drawn last.
    901 bytes (89 words) - 14:30, 5 January 2014
  • ...nction allows you to retrieve the water level from a certain location. The water level is 0 in most places though it can vary (e.g. it's higher near the dam ...not count as water to be used with this function. For example, the shallow water area in Northwest San Fierro.}}
    2 KB (300 words) - 10:19, 30 January 2022
  • This function returns the water color of the GTA world. '''Note:''' The server can only return the water color, if it has actually been set by script.
    2 KB (280 words) - 15:02, 7 August 2016
  • ...s from the Deathmatch mod. To request a function or event, use [[Requested Functions and Events]] For more functions, check the [[Useful_Functions|useful functions page]].
    2 KB (212 words) - 15:19, 7 August 2023
  • Sets the world position of a corner point of a water area. <syntaxhighlight lang="lua">bool setWaterVertexPosition ( water theWater, int vertexIndex, int x, int y, float z )</syntaxhighlight>
    2 KB (196 words) - 16:58, 11 May 2017
  • This event is fired when a ped is hit by a water cannon. *'''pedHit:''' the ped which got shot by the water cannon
    1 KB (189 words) - 12:14, 8 February 2015
  • This event is fired when a player is hit by a water cannon. *'''playerHit:''' the player which got shot by the water cannon
    1 KB (178 words) - 01:57, 7 April 2018
  • ...d to determine whether or not a player is currently in water. Player is in water only if breath bar appears. Returns ''true'' if the player is in water, ''false'' otherwise.
    1 KB (136 words) - 06:08, 22 September 2021
  • .... This event is even triggered when vehicles merely come into contact with water, so not every trigger is an indication of actual drowning. ===Client event functions===
    724 bytes (95 words) - 13:03, 4 October 2016
  • ...scripting functions that have been implemented and are available as native functions from the Deathmatch mod. To request a function, create an issue in [https:/ For more functions, check the [[Useful_Functions|useful functions page]].
    2 KB (263 words) - 15:57, 19 February 2024
  • This function checks whether an [[element]] is submerged in water. Returns ''true'' if the passed element is in water, ''false'' if it isn't, or if the element is invalid.
    2 KB (200 words) - 00:23, 18 April 2015
  • ==Account functions== ==ACL functions==
    3 KB (285 words) - 12:38, 16 January 2022
  • Creates an area of [[water]]. The largest possible size of a water area is 5996&#0215;5996. Also be aware that the function will change all x
    2 KB (319 words) - 17:25, 28 July 2011
View (previous 20 | ) (20 | 50 | 100 | 250 | 500)