26.10.2015, 14:06
Not use "||" symbol in switch's?
Code work:
Code not work:
Code work:
Код HTML:
switch(newstate) { case PLAYER_STATE_DRIVER: { //............. } }
Код HTML:
switch(newstate) { case PLAYER_STATE_DRIVER || PLAYER_STATE_PASSENGER: { //............. } }