02.06.2009, 19:37
add "return 1;" to the end of each of these commands, eg:
pawn Код:
if (strcmp("/afk", cmdtext, true, 4) == 0)
{
new str[256], pname[256];
GetPlayerName(playerid, pname, 256);
format(str, 256, "%s is now away from keyboard!", pname, cmdtext[4]);
TogglePlayerControllable(playerid, false);
SendClientMessageToAll(0xFF8000FF, str);
return 1;
}