It was typed by me, but is exact to the other. The other one works just fine, but in this case it says I have a syntax error. First, it was on lines with "{", then a line with "if"... I don´t get it, any ideas?

Azrail

12-14-2012, 04:05 PM

At first glance:
1. change the second parentheses to curly braces () -> {}
2. replace the 4 with $.

Follow Us On:

The CGSociety

The CGSociety is the most respected and accessible global organization for creative digital artists. The CGS supports artists at every level by offering a range of services to connect, inform, educate and promote digital artists worldwide. More about us