Command not working
#1

The part that is wrong at the moment is when I type "test" ir displays "Server unkown command" and nothing appears.
Code:
pawn Код:
CMD:test(playerid,params[])
{
    for(new pItems:i; i < pItems; i++)
    {
        if(PlayerItems[playerid][i] > 0)
        {
            format(itemLine,sizeof(itemLine),"(%d) \t%s\n",PlayerItems[playerid][i], ReturnItemNameFromID(i));
            strcat(dialogLines,itemLine);
        }
    }
    ShowPlayerDialog(playerid,DIALOG_INV,DIALOG_STYLE_LIST,"Inventorius",dialogLines,"Naudoti","Atsaukti");
}
Reply


Messages In This Thread
Command not working - by dusk - 01.03.2013, 17:24
Re: Command not working - by AndreT - 01.03.2013, 17:26
Re: Command not working - by Patrick - 01.03.2013, 17:29
Re: Command not working - by dusk - 01.03.2013, 17:30
Re: Command not working - by Patrick - 01.03.2013, 17:33
Re: Command not working - by dusk - 01.03.2013, 17:38
Re: Command not working - by Kenway - 01.03.2013, 17:39
Re: Command not working - by dusk - 01.03.2013, 17:40
Re: Command not working - by Patrick - 01.03.2013, 17:43
Re: Command not working - by dusk - 01.03.2013, 17:51

Forum Jump:


Users browsing this thread: 2 Guest(s)