12.01.2017, 00:14
Quote:
"Stock by Gammix"
"if (HeadShotSystem == true)" You could just do "if(HeadShotSystem)" instead. P.S. "if(!HeadShotSystem)" for false. ----- "else if(HeadShotSystem == false)" "else" is more than enough. If the first if-then is true then obviously the else below it will be false. |
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.