function SkyGradient(SkyGradient)
setSkyGradientsetSkyGradient( 200, 0, 100, 150, 0, 70 )
end
addCommandHandler("sky",SkyGradient)
what's wrong !? its so simple ! i get that error: attempt to call global setSkygradientsetSkyGradient'
also how to change water color ? can you make me an example please for both Sky and water and if you can make one sky with RGB ?
UPDATE : i fixed the setSky
function Skycolor(setSkyGradient)
setSkyGradient( 200, 0, 100, 150, 0, 70 )
end
addCommandHandler("sky", Skycolor)
now i get another error: attempt to call setskygradient