Run time error 4: index out of bounds
I have this:
Code:
#define TOTALLEVELS 12Code:
if( get_user_points(id) >= Levels[gLevel[id]] )Code:
if( get_user_points(id) >= Levels[gLevel[id]] )How to fix and if points of user is over 2000 to make last level without index out of bounds? |
Re: Run time error 4: index out of bounds
Use a while loop. :) Like this:
PHP Code:
|
Re: Run time error 4: index out of bounds
not working.
|
Re: Run time error 4: index out of bounds
Maybe you will post the whole code. And for this while loop, it's just better when you are trying to increase variable in that way, depending on const. :)
|
Re: Run time error 4: index out of bounds
Code:
|
| All times are GMT -4. The time now is 09:38. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.