23.12.2014, 12:29
No, you can't. Why?
Because || is bassicly 'or'.
It bassicly says, if 'this statement' /OR/ 'this statement' is true, proceed.
Else-.. Do whatever you want.
And && is bassicly 'AND', if 'this statement' /AND/ 'this statement' are true, proceed.
Else-.. Do whatever you want.
And if he would've used || it would've been if the player's rank is 8<= or >= 2 proceed.
And if you used && it would've check if the player's rank is inbetween 2 and 8.
Therefore you can't use ||, techincally you can but it isn't what he wants.
Because || is bassicly 'or'.
It bassicly says, if 'this statement' /OR/ 'this statement' is true, proceed.
Else-.. Do whatever you want.
And && is bassicly 'AND', if 'this statement' /AND/ 'this statement' are true, proceed.
Else-.. Do whatever you want.
And if he would've used || it would've been if the player's rank is 8<= or >= 2 proceed.
And if you used && it would've check if the player's rank is inbetween 2 and 8.
Therefore you can't use ||, techincally you can but it isn't what he wants.


