Shinori Posted October 3, 2018 Share Posted October 3, 2018 function create_shop_part(1,"/test/images/csgo.jpg",0.006,1,2,20,1,0.067,512,512,4096,512); } } function create_shop_part(1,imgsrc,input1name,input1step,input1min,input1max,input1value,input2name,input2step,input2min,input2max,input2value) { Error msg: Uncaught SyntaxError: Unexpected number Browser: Chrome latest Any idea whats going wrong here ? Link to comment Share on other sites More sharing options...
dsonesuk Posted October 3, 2018 Share Posted October 3, 2018 Its expecting a parameter variable not a actual number, that should be the argument passed on the calling of function (NOTE: without the actual 'function' at beginning). 1 Link to comment Share on other sites More sharing options...
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