27.06.2012, 12:35
How i can solve this warning
This is the script
Код:
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.
Код:
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;
}

