Author Topic: [TUT] Set water-sky color to your maps  (Read 120 times)

0 Members and 0 Guests are viewing this topic.

V

  • Server Owner
  • Level 3
  • ***
  • Posts: 76
    • View Profile
[TUT] Set water-sky color to your maps
« on: February 08, 2012, 03:34:45 pm »
Code: [Select]
function ClientStarted ()
setWaterColor( 0 , 229 , 238 ) -- RGB colors
setSkyGradient( 255 , 127 , 36 , 205 , 96 , 144 ) -- 1st RGB colors top sky, 2nd RGB colors bottom sky
end


addEventHandler( "onClientResourceStart", getResourceRootElement(getThisResource()), ClientStarted )

Share on Bluesky Share on Facebook