Quote:
Originally Posted by Jefff
before
pawn Код:
if(strcmp("/retirar", cmdtext, true) == 0)
must be
pawn Код:
cmd = strtok(cmdtext,idx);
then
pawn Код:
if(strcmp("/retirar", cmd, true) == 0)
or without strtok
pawn Код:
if(strcmp("/retirar", cmdtext, true, 8) == 0) // set cmd lenght ("/retirar" - 8 chars)
|
Thanks. The problem was the Lenght "8".