CMD: Can you fix the brackets?
#3

Having a hard time defining "fix", but if you mean you have a warning of loose indentation, the below should fix this.

pawn Код:
CMD:atm(playerid, params[])
{
    if(!IsAtATM(playerid))
    {
        SendClientMessageEx(playerid, COLOR_GREY, "   You are not at an ATM!");
        return 1;
    }
    ShowPlayerDialog(playerid,ATMSYSTEM,DIALOG_STYLE_LIST,"ATM System","Withdraw Money\nDeposit Money\nMy Balance\nWiretransfer","Done","Cancel");
    return 1;
}
Reply


Messages In This Thread
CMD: Can you fix the brackets? - by Gregory00 - 17.03.2014, 21:30
Re: CMD: Can you fix the brackets? - by ikkentim - 17.03.2014, 21:33
Re: CMD: Can you fix the brackets? - by PrivatioBoni - 17.03.2014, 21:41
Re: CMD: Can you fix the brackets? - by VishvaJeet - 18.03.2014, 04:22

Forum Jump:


Users browsing this thread: 1 Guest(s)