why is this messing with...
#1

Code:
	if(dialogid == 30)
	{
	    if(response)
	    {
	        switch(listitem)
        	{
	        	case 0:
        		{
	        		new s[32],q[128],ss[128],mem[10][32];
	        		format(q,128,"SELECT * FROM omem WHERE org=%d",org[playerid]);
	        		mysql_query(q);
	        		mysql_store_result();
	        		for(new i=mysql_retrieve_row();i<10;i++)
	        		{
	        		    new field[5][32];
	        		    mysql_fetch_row_format(q,"|");
	        		    explode(q,field,"|");
	        		    format(mem[i],32,"%s",field[1]);
	        		}
	        		mysql_free_result();
	        		format(s,32,"%s:",oname[playerid]);
	       			format(ss,128,"%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s",mem[0],mem[1],mem[2],mem[3],mem[4],mem[5],mem[6],mem[7],mem[8],mem[9]);
	        		ShowPlayerDialog(playerid,31,DIALOG_STYLE_LIST,s,ss,"Ok","Cancel");
        		}
				case 1:
				{
					cmd_resign(playerid,"");
				}
	        }
	    }
	}
Code:
C:\Users\likith\Desktop\3c srvr\gamemodes\EeshRP.pwn(1783) : warning 219: local variable "s" shadows a variable at a preceding level
C:\Users\likith\Desktop\3c srvr\gamemodes\EeshRP.pwn(1872) : error 021: symbol already defined: "q"
C:\Users\likith\Desktop\3c srvr\gamemodes\EeshRP.pwn(1876) : error 021: symbol already defined: "s"
C:\Users\likith\Desktop\3c srvr\gamemodes\EeshRP.pwn(1895) : error 021: symbol already defined: "s"
C:\Users\likith\Desktop\3c srvr\gamemodes\EeshRP.pwn(1897) : error 021: symbol already defined: "i"
C:\Users\likith\Desktop\3c srvr\gamemodes\EeshRP.pwn(1936) : error 021: symbol already defined: "q"
C:\Users\likith\Desktop\3c srvr\gamemodes\EeshRP.pwn(1951) : warning 219: local variable "q" shadows a variable at a preceding level
C:\Users\likith\Desktop\3c srvr\gamemodes\EeshRP.pwn(1999) : warning 219: local variable "s" shadows a variable at a preceding level
C:\Users\likith\Desktop\3c srvr\gamemodes\EeshRP.pwn(2003) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\likith\Desktop\3c srvr\gamemodes\EeshRP.pwn(2021) : warning 219: local variable "q" shadows a variable at a preceding level
C:\Users\likith\Desktop\3c srvr\gamemodes\EeshRP.pwn(2026) : warning 219: local variable "i" shadows a variable at a preceding level
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


5 Errors.
why is it messing with the other dialog?, if i just comment that and compile its compiling good..
Reply


Messages In This Thread
why is this messing with... - by THE_KNOWN - 02.04.2011, 11:47
Re: why is this messing with... - by nejc001 - 02.04.2011, 12:12
Re: why is this messing with... - by THE_KNOWN - 02.04.2011, 12:21
Re: why is this messing with... - by THE_KNOWN - 02.04.2011, 12:40
Re: why is this messing with... - by THE_KNOWN - 02.04.2011, 12:47
Re: why is this messing with... - by THE_KNOWN - 02.04.2011, 15:03
Re: why is this messing with... - by armyoftwo - 02.04.2011, 15:04
Re: why is this messing with... - by -Rebel Son- - 02.04.2011, 15:05
Re: why is this messing with... - by THE_KNOWN - 02.04.2011, 16:05
Re: why is this messing with... - by armyoftwo - 02.04.2011, 16:22
Re: why is this messing with... - by THE_KNOWN - 02.04.2011, 17:05
Re: why is this messing with... - by THE_KNOWN - 03.04.2011, 03:07
Re: why is this messing with... - by THE_KNOWN - 03.04.2011, 07:28
Re: why is this messing with... - by armyoftwo - 03.04.2011, 07:38
Re: why is this messing with... - by THE_KNOWN - 03.04.2011, 10:07

Forum Jump:


Users browsing this thread: 4 Guest(s)