Show All Of MAX_VEHICLES in Dialog
#5

Quote:
Originally Posted by Chenko
Посмотреть сообщение
Get rid of return 1; all together. Don't replace it with break, you will have the same problem. Also, move ShowPlayerDialog outside both loops.
No he won't there is two loops here, once he finds the driver he can break out of that loop then continue checking the other cars if he doesn't then it's going to check the rest of players uselessly read the code.
Reply


Messages In This Thread
Show All Of MAX_VEHICLES in Dialog - by jakejohnsonusa - 26.04.2013, 21:44
Re: Show All Of MAX_VEHICLES in Dialog - by jakejohnsonusa - 27.04.2013, 19:51
Re: Show All Of MAX_VEHICLES in Dialog - by Pottus - 27.04.2013, 19:59
Re: Show All Of MAX_VEHICLES in Dialog - by Chenko - 27.04.2013, 20:18
Re: Show All Of MAX_VEHICLES in Dialog - by Pottus - 27.04.2013, 20:22
Re: Show All Of MAX_VEHICLES in Dialog - by Chenko - 27.04.2013, 20:30
Re: Show All Of MAX_VEHICLES in Dialog - by Vince - 27.04.2013, 21:04
Re: Show All Of MAX_VEHICLES in Dialog - by jakejohnsonusa - 28.04.2013, 20:06
Re: Show All Of MAX_VEHICLES in Dialog - by jakejohnsonusa - 30.04.2013, 20:20
Re: Show All Of MAX_VEHICLES in Dialog - by Chenko - 30.04.2013, 22:13

Forum Jump:


Users browsing this thread: 1 Guest(s)