Raised This Month: $ Target: $400
 0% 

[AMXX] Run time error 4: index out of bounds


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 12-13-2015 , 15:54   Re: [AMXX] Run time error 4: index out of bounds
Reply With Quote #6

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
__________________

Last edited by Bugsy; 12-13-2015 at 15:54.
Bugsy is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:14.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode