12.01.2017, 00:28
Quote:
"else" is indeed more than enough, though I personally prefer to have it included as well.
The things you are pointing out are nothing more than 'personal styles and/or preferences'. The one prefers to script it like "if(HeadShotSystem == true)" and the other prefers to script it like "if(HeadShotSystem)" They're both not wrong. So, you pointed out pretty unrelated things. |
You won't find "== true/false" being used in "higher level" projects (or however you want to call them) to be honest.
-----
The same thing applies to:
"new bool:Something = false;"
That "= false" is not required, but logically it isn't needed and removing it is most likely considered as better programming practice.