~ > > How to change the color of the sky and water < < ~
1º - Download the file:
https://drive.google.com/file/d/0ByhFqm9bmLA9SWJWNEZkQUFISE0/view?usp=sharing
2º - Extract the file "SkyWater.lua" inside the folder of your map
3º - Open the "meta.xml" file of your map and add the line:
<script src="SkyWater.lua" type="client" />
4º - Open the file "SkyWater.lua" and inside it you will see two lines: "setWaterColor( 255, 255, 255, 255 )" and "setSkyGradient( 255, 255 , 255, 255, 255, 255)"
5º - To change the color of the sky you should go to the line "setSkyGradient( 255, 255, 255, 255, 255, 255)" and change the numbers between parentheses ( 255, 255, 255, 255, 255, 255):
If you prefer, you should use the HTML color generator to help you in this step, I recommend this site
http://html-color-codes.info/
6º - After choosing your colors, just put them between the parentheses respecting each location:
7º - Do a test on your map and see the result:
8º - To change the color of the wateryou should go to the line "setWaterColor( 255, 255, 255, 255 )" and change the numbers between parentheses( 255, 255, 255, 255 ):
If you prefer, you should use the HTML color generator to help you in this step, I recommend this site
http://html-color-codes.info/
9º - After choosing your colors, just put them between the parentheses respecting each location:
RESULT
10º - To make the water more transparent, you just go in "(0, 150, 200, 255)" and decrease the transparency by placing the number 200 or 150 or 100 or 50 in place of "255":
11º - Do a test on your map and see the result:
12º - Now see how did end result of our tutorial:
Now, it's just you do the biggest and best MTA races of all time
by #NITRO