error 030: compound statement not closed at the end of file
#2

PHP код:
public OnDialogResponse(playeriddialogidresponselistiteminputtext[])
{
    if(
dialogid == DIALOG_CARPENTIERE)
    {
        if(
response//this is the error line
        
{
            if((
Carpentiere[playerid] == 0))
            {
            
ShowInfoForPlayer(playerid,"Hai accettato il lavoro."3000);
            
Carpentiere[playerid] = 1;
            new 
random (2);
            if(
== 0)
            {
            
SetPlayerCheckpoint(playerid1280.0118, -1262.710213.51072.0);
            }
            if(
== 1)
            {
            
SetPlayerCheckpoint(playerid,1280.9083, -1242.067713.91602.0);
            }
            if(
== || ==3)
            {
            
SetPlayerCheckpoint(playerid,1268.9485, -1234.496117.05192.0);
            }
            
CP[playerid] = 1;
        }
        else
        {
            if((
Carpentiere[playerid] == 1))
            {
            
ShowInfoForPlayer(playerid,"Hai annullato il lavoro."3000);
            
Carpentiere[playerid] = 0;
            
DisablePlayerCheckpoint(playerid);
            
ClearAnimations(playerid);
            
SetPlayerSpecialAction(playerid,0);
            
CP[playerid] = 0;
            }
            }
                        }
                        }
            return 
1;

your code were missing } if my code showed the same error try to add / remove more }
Reply


Messages In This Thread
error 030: compound statement not closed at the end of file - by Joyeux - 07.12.2015, 13:10
Re: error 030: compound statement not closed at the end of file - by jlalt - 07.12.2015, 13:21
Re: error 030: compound statement not closed at the end of file - by AbyssMorgan - 07.12.2015, 13:22
Re: error 030: compound statement not closed at the end of file - by Crayder - 07.12.2015, 16:25

Forum Jump:


Users browsing this thread: 1 Guest(s)