[CrasDetect] Some weird warnings at my server
#5

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
MAX_BUTTONS buttons is 51. A normal loop would go from 0 to 50. Your code goes from 1-51 and the last valid index is 50; hence the run time error. Use the first index and don't exceed the array's size:
Change to:
pawn Код:
for(buttonid = 0; buttonid < MAX_BUTTONS; buttonid ++)
Thank you very much! You are the best

+rep
Reply


Messages In This Thread
[CrasDetect] Some weird warnings at my server - by ChristianIvann09 - 10.04.2014, 15:54
Re: [CrasDetect] Some weird warnings at my server - by Konstantinos - 10.04.2014, 15:58
Re: [CrasDetect] Some weird warnings at my server - by ChristianIvann09 - 10.04.2014, 16:00
Re: [CrasDetect] Some weird warnings at my server - by Konstantinos - 10.04.2014, 16:03
Re: [CrasDetect] Some weird warnings at my server - by ChristianIvann09 - 10.04.2014, 16:11

Forum Jump:


Users browsing this thread: 3 Guest(s)