Errors constant expression & loose identation
#2

pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
    {
    // If the player picks up the Buy_License pickup at the driving school in Doherty
    if (pickupid == Pickup_License)
    // Ask the player which license he wants to buy
    ShowPlayerDialog(playerid, DialogBuyLicenses, DIALOG_STYLE_LIST, TXT_DialogLicenseTitle, TXT_DialogLicenseList, TXT_DialogButtonBuy, TXT_DialogButtonCancel); // Let the player buy a license
    {
    //SFPD
    if(pickupid == SFPD)
    {
    ShowPlayerDialog(playerid, DIALOG_SFPD, DIALOG_STYLE_MSGBOX, "SFPD","Are you sure you want to reset wanted level and pay $5.000 for it?", "Accept", "Cancel");
    }
                //LSPD
    if(pickupid == LSPD)
    {
    ShowPlayerDialog(playerid, DIALOG_LSPD, DIALOG_STYLE_MSGBOX, "LSPD","Are you sure you want to reset wanted level and pay $5.000 for it?", "Accept", "Cancel");
    }
                //LVPD
    if(pickupid == LVPD)
    {
    ShowPlayerDialog(playerid, DIALOG_LVPD, DIALOG_STYLE_MSGBOX, "LVPD","Are you sure you want to reset wanted level and pay $5.000 for it?", "Accept", "Cancel");
    }
    }
    }
    return 1;
}
On the second error, which line gives you that error?(comment beside it.)
Reply


Messages In This Thread
Errors constant expression & loose identation - by kryptonice - 23.02.2013, 17:02
Re: Errors constant expression & loose identation - by DaRk_RaiN - 23.02.2013, 17:08
Re: Errors constant expression & loose identation - by mastermax7777 - 23.02.2013, 17:11
Re: Errors constant expression & loose identation - by kryptonice - 23.02.2013, 17:48

Forum Jump:


Users browsing this thread: 1 Guest(s)