I have an Error
#1

here this is the error:
PHP код:
C:Documents and SettingsIntelDesktopServergamemodesnew.pwn(47322) : error 030compound statement not closed at the end of file (started at line 47304)
Pawn compiler 3.2.3664   Copyright (c1997-2006ITB CompuPhase

1 Error

End here is the public:
PHP код:
public OnDialogResponse(playeriddialogidresponselistiteminputtext[])
{
 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
Reply
#2

You're missing some brackets.
Reply
#3

Where?
Reply
#4

10 opened bracklets and 7 closed. You can use the [ pawn ] YOURSCRIPTHERE [ /pawn ] (Witout spaces) for the highlighting.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)