a little problem
#4

Quote:
Originally Posted by James124
Посмотреть сообщение
SendClientMessageToAdmins(GREY, string); changed to SendClientMessageToAdmins(GREY, string ,1);

it works but it says unknown command along with it !
how to remove that unknown command ?
It's probably supposed to be

pawn Код:
SendClientMessageToAdmins(GREY, string ,playerid);
And if it still returns Unknown Command, also add in a return 1;

pawn Код:
{
    new string[128];
    GetPlayerName(playerid, sendername, sizeof(sendername));
    format(string, sizeof(string), "%s (%d) typed: %s", sendername,playerid,cmdtext);
    SendClientMessageToAdmins(GREY, string,playerid);
    return 1;
}
Reply


Messages In This Thread
a little problem - by James124 - 04.09.2010, 04:42
Re: a little problem - by JaTochNietDan - 04.09.2010, 05:20
Re: a little problem - by James124 - 04.09.2010, 05:22
Re: a little problem - by JaTochNietDan - 04.09.2010, 05:25
Re: a little problem - by James124 - 04.09.2010, 05:28
Re: a little problem - by James124 - 04.09.2010, 06:11

Forum Jump:


Users browsing this thread: 1 Guest(s)