error 010: invalid function or declaration
#2

Extra closing bracket.

Not sure what your indentation is like since you didn't use bbcode code, but I bet you would've noticed instantly if you had your indentation right.

pawn Код:
CMD:buyskin(playerid, params[])
{
    if(IsPlayerInRangeOfPoint(playerid, 10.0, 207.6219, -104.1593, 1005.257)
    {
        ShowPlayerDialog(playerid,55,DIALOG_STYLE_INPUT,"S KIN SHOP","Chaweret Skinis ID Romelic Gindat Rom Iyidot. | FASI: $500","Yidva","Gasvla");
    }
    else
    {
        SendClientMessage(playerid,0xAA3333AA,"Shen Ar Xar Tansacmlis Magaziashi!");
    }
    return 0;
}
Also, why are you returning 0? That's gonna result in an "Unknown Command" message every time someone uses the command.
Reply


Messages In This Thread
error 010: invalid function or declaration - by Pearson - 14.02.2016, 06:14
Re: error 010: invalid function or declaration - by Crayder - 14.02.2016, 06:22
Re: error 010: invalid function or declaration - by ManGoe - 14.02.2016, 08:08
Re: error 010: invalid function or declaration - by FreAkeD - 14.02.2016, 08:39
Re: error 010: invalid function or declaration - by Crayder - 14.02.2016, 15:06

Forum Jump:


Users browsing this thread: 1 Guest(s)