Crashing the pawn compiler 0o
#6

line 267:
Код:
	for (; i < m, i++)
i assume its supposed to be like...?
Код:
	for (i=0; i < m, i++)
edit: that always happens when iam searching for bugs: i dont see the second right beside the first one:
line 263 and 267
Код:
		for (; i < m, i++) if (IsPlayerAdmin) AdminsOnline++; //getting the number of admins online
 
		new rand = random(AdminsOnline); //getting a random number
 
		for (; i < m, i++)
each for() should initialize with the i=0 or new i=0:
Код:
		for (i=0; i < m, i++) if (IsPlayerAdmin) AdminsOnline++; //getting the number of admins online
		for (i=0; i < m, i++)
if the i aint set-up already, add in front of the 2 loops:
Код:
	new i;
Reply


Messages In This Thread
Crashing the pawn compiler 0o - by biltong - 05.04.2010, 12:14
Re: Crashing the pawn compiler 0o - by Jakku - 05.04.2010, 12:15
Re: Crashing the pawn compiler 0o - by biltong - 05.04.2010, 13:06
Re: Crashing the pawn compiler 0o - by [MWR]Blood - 05.04.2010, 13:08
Re: Crashing the pawn compiler 0o - by biltong - 05.04.2010, 13:12
Re: Crashing the pawn compiler 0o - by Babul - 05.04.2010, 14:22
Re: Crashing the pawn compiler 0o - by biltong - 05.04.2010, 14:55

Forum Jump:


Users browsing this thread: 1 Guest(s)