Can someone help me with detecting if the player is riding a bike?
#2

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:
Код:
if(bikeid == 581 || bikeid == 509 || bikeid == 481 [....] || bikeid == 586)
obviously in the [....] just fulfill the same way with the other ID's.

a little tip:
Код:
== equals
!= differs
|| or
&& and
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)