14.02.2014, 19:48
Quote:
it has to do with the way you do your checks... Cant really show you because im in the phone. Check my сatest replies, i solved tye very same thing a few hours ago, but basically you cant do
Код:
var == 1 || 2 || 3 |
Seems like I only did Grovestreet right and messed up the rest
What would be the best way to make this shorter:
Код HTML:
else if(CarCheck == Cars[Rifa][0] || CarCheck == Cars[Rifa][1] || CarCheck == Cars[Rifa][2] || CarCheck == Cars[Rifa][3] || CarCheck == Cars[Rifa][4] || CarCheck == Cars[Rifa][5])
Gonna try out if it works now.
EDIT: It works