• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] Help with a loop
#4
I believe the problem is with MAX_ADMINS, as the maximum is 25, but you started the loop with 0 and from 0 to 25 gives 26 spaces.


change this:

"for(new i = 0; i < MAX_ADMINS; i++)"

that's why:

for(new i = 1; i < MAX_ADMINS; i++)

and also remove the "+1" from variable i in the OnAdminLoad callback
  Reply


Messages In This Thread
Help with a loop - by Neckiy - 2025-01-05, 03:47 PM
RE: Help with a loop - by samuelmatheus0502 - 2025-01-06, 12:11 AM
RE: Help with a loop - by Neckiy - 2025-01-06, 02:27 PM
RE: Help with a loop - by samuelmatheus0502 - 2025-01-07, 07:20 PM

Forum Jump: