03.12.2009, 05:15
Hello.
My command, which looks like this:
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
and thus changing the line below to
but it dont work.
Is there anyone out there hearing my scream for some help?
Thanks, EirikhO.
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;
}
pawn Код:
new turt[2048];
format(turt,sizeof(turt=,"%s",destb());
pawn Код:
ShowPlayerDialog(playerid,rsb,2,"select plz",destb(),"yes","no")
Is there anyone out there hearing my scream for some help?
Thanks, EirikhO.