Problem.
#5

Hmm put back the function to return true; instead of return Text;
And try this
pawn Код:
YCMD:classchat(playerid, params[], komandos)
{
    if (isnull(params))
    {
        return SendClientMessage(playerid, COLOR_RED, "» Komandos naudojimas: {FFFF00}/©lasschat [tekstas]");
    }
    new szRadio[128];
    ChangeSwear(params);
    format(szRadio, 128, "[RACIJA] %s %s (%d): {FF0000}%s", GetClassRang(playerid, iClass[playerid]), GetPlayerNameEx(playerid), playerid,params);
    foreach(new i: Player)
    {
        if (iChannel[i] == iChannel[playerid])
        {
            SendClientMessage(i, COLOR_LIGHTBLUE, szRadio);
        }
    }
    return true;
}
Reply


Messages In This Thread
Problem. - by BaubaS - 19.07.2012, 19:06
Re: Problem. - by nepstep - 19.07.2012, 19:09
Re: Problem. - by BaubaS - 19.07.2012, 19:16
Re: Problem. - by BaubaS - 19.07.2012, 22:34
Re: Problem. - by nepstep - 19.07.2012, 22:50

Forum Jump:


Users browsing this thread: 1 Guest(s)