01.04.2015, 08:43
That warning means you've messed up single = and double ==.
In if-statements, to detect if something is equal to something else, use double ==.
To assign a value, use a single =.
Ex:
In if-statements, to detect if something is equal to something else, use double ==.
To assign a value, use a single =.
Ex:
Quote:
new MyVariable; MyVariable = 2; if(MyVariable == 2) |