[AMXX] Run time error 4: index out of bounds
PHP Code:
|
Re: [AMXX] Run time error 4: index out of bounds
Show how iPlayers is defined and getting filled with player id's
You should use charsmax() and not sizeof() in formatex(). |
Re: [AMXX] Run time error 4: index out of bounds
PHP Code:
|
Re: [AMXX] Run time error 4: index out of bounds
Quote:
Quote:
|
Re: [AMXX] Run time error 4: index out of bounds
like this ?
PHP Code:
|
Re: [AMXX] Run time error 4: index out of bounds
Based on that code, the whole iPlayers[] array will be 0's. You are not showing how it is populated with player id's.
What you should do, is define iPlayers[ 32 ], and use get_players() to fill it. http://www.amxmodx.org/api/amxmodx/get_players |
| All times are GMT -4. The time now is 18:14. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.