Crashing the pawn compiler 0o
#1

http://pawn.pastebin.com/4d7txmMB

I have no idea what is crashing it. When I compile the window opens but then windows tells me there was a problem with it.
Reply
#2

Too many errors in the script
Reply
#3

Would help if I knew where they are :/
Reply
#4

Quote:
Originally Posted by biltong
Would help if I knew where they are :/
The compiler is crashing when you putted more braces than required.
Reply
#5

I double checked, nothing wrong with them.
Reply
#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
#7

I don't know, dice7 gave me that code. It still crashed without it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)