Loop stops suddenly
#7

If you create an array with 16 index's, the index bounds are 0-15 not 1-16.
PlayerTextDrawHide(playerid, call[playerid][i+10]);
PlayerTextDrawHide(playerid, call[playerid][i+9]);

That way when the loop runs the code 6 times it will call 9-15 which is within your bounds.
Reply


Messages In This Thread
Loop stops suddenly - by ||123|| - 06.11.2013, 18:12
Re: Loop stops suddenly - by Konstantinos - 06.11.2013, 18:18
Re: Loop stops suddenly - by ||123|| - 06.11.2013, 18:25
Re: Loop stops suddenly - by SuperViper - 06.11.2013, 21:01
Re: Loop stops suddenly - by ||123|| - 07.11.2013, 01:06
Re: Loop stops suddenly - by Emmet_ - 07.11.2013, 01:16
Re: Loop stops suddenly - by DeStunter - 07.11.2013, 01:41
Re: Loop stops suddenly - by ||123|| - 07.11.2013, 10:29

Forum Jump:


Users browsing this thread: 1 Guest(s)