Pinda Posted April 9, 2010 Share Posted April 9, 2010 red,green,blue,alpha=255,56,192,192 topRed,topGreen,topBlue,bottomRed,bottomGreen,bottomBlue=255,56,192,255,56,192 addEventHandler("onClientResourceStart",getResourceRootElement(),function() setWaterColor(red,green,blue,alpha) setSkyGradient(topRed,topGreen,topBlue,bottomRed,bottomGreen,bottomBlue) what i did wrong ? Link to comment
Dark Dragon Posted April 9, 2010 Share Posted April 9, 2010 your function has no "end" and addEventHandler misses a ")". the rest seems fine red,green,blue,alpha=255,56,192,192 topRed,topGreen,topBlue,bottomRed,bottomGreen,bottomBlue=255,56,192,255,56,192 addEventHandler("onClientResourceStart",getResourceRootElement(),function() setWaterColor(red,green,blue,alpha) setSkyGradient(topRed,topGreen,topBlue,bottomRed,bottomGreen,bottomBlue) end -- this is the end of the function you start 3 lines above ) -- this is the ")" of addEventHandler 4 lines above Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now