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

Код:
C:\Users\Imaniyya\Desktop\samp\filterscripts\musicstreamerversion1.1.pwn(254) : error 030: compound statement not closed at the end of file (started at line 225)
Код:
(Line 225)if(dialogid == 19912)
    {
        if(response) // If they clicked 'Select' or double-clicked a weapon
        {
            // Give them the weapon
            switch(listitem)
            {
                case 0: ShowPlayerDialog(playerid,18945, DIALOG_STYLE_INPUT, "Stream Music For Your Self","{FFFFFF}Write the {009BFF}URL{FFFFFF} To Stream:", "Stream", "Cancel");
                case 1: if(IsPlayerVipType(playerid,1))
                        {
                        ShowPlayerDialog(playerid,18947, DIALOG_STYLE_INPUT, "Stream Music For Your Other Player","{FFFFFF}Write the {009BFF}URL{FFFFFF} To Stream:", "Stream", "Cancel");
                        }
                        else SendClientMessage(playerid, COLOR_RED, "ERROR: You not is a Silver or Gold Member!");
            }
	}
         return 1; // We handled a dialog, so return 1. Just like OnPlayerCommandText.
    }
if(dialogid == 189945)
    {
    if(response)
    {
    for(new i=0; i<250; i++)
    {
    PlayAudioStreamForPlayer(i, inputtext);
    }
    return 1;
    }
    return 0; // You MUST return 0 here! Just like OnPlayerCommandText.
}
Please Help Me ..
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)