I want to know these code
#2

1: The first line means "If the player doesn't have job number 1". "!=" means "is not", "==" means "is".

2: for initiates a loop, in this case you're looping (Cycling) through all the pizza bikes.

3: The format is for(new Variable; when should this loop continue; what should happen each loop). You can read more here.

4: break means that the loop is over, so it doesn't cycle anymore.
Reply


Messages In This Thread
I want to know these code - by karakana7 - 27.10.2010, 08:47
Re: I want to know these code - by Lenny the Cup - 27.10.2010, 08:54
Re: I want to know these code - by karakana7 - 27.10.2010, 09:06
Re: I want to know these code - by Lenny the Cup - 27.10.2010, 09:21

Forum Jump:


Users browsing this thread: 1 Guest(s)