27.07.2012, 07:54
1. = is assignment, == is comparison operator
2.
3. || - OR logic operator, && - AND logic operator.
2.
pawn Код:
new i = 0;
i = i + 1;
//It's the same as
i += 1;
pawn Код:
new test = (2 < 3 && 3 > 4); //Evaluates as false, because not all conditions are met
test = (2 < 3 || 3 > 4); //Evaluates as true, because one of the conditions is met