Command isn't working
#1

Hello.

My command, which looks like this:
pawn Код:
dcmd_ko(playerid,params[])
{
    #pragma unused params
    if(RCT[playerid]==1){
        new turt[2048];
        format(turt,sizeof(turt),"%s",destb());
        ShowPlayerDialog(playerid,rsb,2,"select plz",turt,"yes","no");
    }
    return 1;
}
isn't working. It returns the unknown command-message when tried in-game. It is included in onplayercommandtext (dcmd(ko,2,cmdtext), and I have the DCMD-define line. All my other commands work as they should. I have tried removing the lines
pawn Код:
new turt[2048];
format(turt,sizeof(turt=,"%s",destb());
and thus changing the line below to
pawn Код:
ShowPlayerDialog(playerid,rsb,2,"select plz",destb(),"yes","no")
but it dont work.

Is there anyone out there hearing my scream for some help?

Thanks, EirikhO.
Reply


Messages In This Thread
Command isn't working - by EirikhO - 03.12.2009, 05:15
Re: Command isn't working - by ExoSanty - 03.12.2009, 08:33
Re: Command isn't working - by EirikhO - 03.12.2009, 11:11

Forum Jump:


Users browsing this thread: 1 Guest(s)