24.12.2011, 20:56
Quote:
Your code won't work because:
1st if(strcmp("/cop", cmdtext, true, 10) ==0) The length of the command text is not 10 but 4(and this was the main problem) |
pawn Код:
if (strcmp("/output", cmdtext, true, 20) == 0)
{
SendClientMessage(playerid, -1, "true");
//print("true");
return 1;
}