14.04.2009, 20:16
so I'm pretty sure you got the ID of the vehicle already stored on a variable, didn't you?
To check it with more than one values at the same time, do this:
obviously in the [....] just fulfill the same way with the other ID's.
a little tip:
To check it with more than one values at the same time, do this:
Код:
if(bikeid == 581 || bikeid == 509 || bikeid == 481 [....] || bikeid == 586)
a little tip:
Код:
== equals != differs || or && and