multiple values in if(classid == _)
#4

Quote:
Originally Posted by izeatfishz
Посмотреть сообщение
use || - that stands for OR..
example:

if(classid == 0 || classid == 1 || classid == 2)

however, as said above, switches are faster
thanks bro really appreciate it. i just got into scripting and im scripting a simple freeroam script
Reply


Messages In This Thread
multiple values in if(classid == _) - by iamjems - 04.10.2016, 15:38
Re: multiple values in if(classid == _) - by Banditul18 - 04.10.2016, 15:45
Re: multiple values in if(classid == _) - by izeatfishz - 04.10.2016, 17:14
Re: multiple values in if(classid == _) - by iamjems - 04.10.2016, 17:25

Forum Jump:


Users browsing this thread: 1 Guest(s)