Warning
#1

How i can solve this warning
Код:
C:\Users\hp\Desktop\3e server\gamemodes\GM.pwn(26365) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\hp\Desktop\3e server\gamemodes\GM.pwn(26367) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Warnings.
This is the script
Код:
	if(dialogid == DIALOGID0+34)
	{
		if(response)
		{
			new message[] = "\t\t\t\t\t\t _________________________________________________________________________________________________.";
			new message2[] = "\n\n 3-_________________________________________________________________________________________________";
			new string[768];
			format(string, sizeof(string),"%s %s",message,message2);
			ShowPlayerDialog(playerid, 1244, DIALOG_STYLE_MSGBOX,"Main Credits",string,"Ohkey");(This is the 2 warning)
		}
		return 1;
	}
Reply


Messages In This Thread
Warning - by God'Z War - 27.06.2012, 12:35
Re: Warning - by Littlehelper - 27.06.2012, 12:37
Re: Warning - by God'Z War - 27.06.2012, 12:42

Forum Jump:


Users browsing this thread: 5 Guest(s)