13.11.2009, 22:10
here this is the error:
End here is the public:
PHP код:
C:Documents and SettingsIntelDesktopServergamemodesnew.pwn(47322) : error 030: compound statement not closed at the end of file (started at line 47304)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
PHP код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 0)
{
if(response == 1)
{
if(!strlen(inputtext))
{
SendClientMessage(playerid,COLOR_YELLOW,"[M&M] - You need to put in password");
ShowPlayerDialog(playerid,0,DIALOG_STYLE_INPUT," Register. - [M&M]"," .ара дчщ аъ сйсоък ббчщд - [RLSB]","дшщод","бйием");
return 1;
}
if(strlen(inputtext) > 12 || strlen(inputtext) < 4)
{
SendClientMessage(playerid,COLOR_YELLOW,"[M&M] - The password has to be 4-24 letters or numbers");
ShowPlayerDialog(playerid,0,DIALOG_STYLE_INPUT," Register. - [M&M]"," .ара дчщ аъ сйсоък ббчщд - [RLSB]","дшщод","бйием");
return 1;
}
OnPlayerRegister(playerid,inputtext);
}
return 1;
}
else if(dialogid == 1)
{
if(response == 1)
{
if(!strlen(inputtext))
{
SendClientMessage(playerid,COLOR_YELLOW,"[M&M] - You Have to put a password");
ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT," .Login - [M&M]"," .ара дчщ аъ сйсоък ббчщд - [RLSB]","дъзбш","бйием");
return 1;
}
if(strlen(inputtext) > 12 || strlen(inputtext) < 4)
{
SendClientMessage(playerid,COLOR_YELLOW,"[M&M] - The password has to be 4-24 letters or numbers");
ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT," .Login - [M&M]"," .ара дчщ аъ сйсоък ббчщд - [RLSB]","дъзбш","бйием");
return 1;
}
if(!strcmp(inputtext,PlayerInfo[playerid][pKey],true))
{
gPlayerLogged[playerid] = 1;
SendClientMessage(playerid,COLOR_WHITE,"[M&M] - You are logged in succefully");
return 1;