01.04.2010, 11:18
Classic strtok mistake xD ^^
Change:
to
I hope you have defined
and
under
Change:
pawn Код:
if (strcmp("/spyspec", cmdtext, true, 10) == 0)
pawn Код:
if(strcmp(cmd, "/spyspec", true) == 0)
pawn Код:
new cmd[256], idx;
pawn Код:
cmd = strtok(cmdtext, idx);
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])