OneTallor

Untitled

Jun 10th, 2016
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.60 KB | None | 0 0
  1. -- Setting water properties.
  2. height = 40
  3. SizeVal = 2998
  4. -- Defining variables.
  5. southWest_X = 1831
  6. southWest_Y = -1791
  7. southEast_X = 1833
  8. southEast_Y = -1853
  9. northWest_X = -1958
  10. northWest_Y = -1859
  11. northEast_X = 1962
  12. northEast_Y = -1809
  13.  
  14. -- OnClientResourceStart function that creates the water.
  15. function thaResourceStarting( )
  16.     water = createWater ( southWest_X, southWest_Y, height, southEast_X, southEast_Y, height, northWest_X, northWest_Y, height, northEast_X, northEast_Y, height )
  17.     setWaterLevel ( height )
  18. end
  19. addEventHandler("onClientResourceStart", resourceRoot, thaResourceStarting)
Add Comment
Please, Sign In to add comment