Help problem
#8

pawn Code:
//==============================================================================
//Private Message (PM)
//==============================================================================
public OnPlayerPrivmsg(playerid, recieverid, text[])
{
    //--------------------------------------------------------------------------
    //Reading PM's
    //--------------------------------------------------------------------------
    new string[220];
    //--------------------------------------------------------------------------
    format(string, 220, "{FF0000}PrivateMessage: {00FF00}%s to %s: %s .*", PlayerName2(playerid), PlayerName2(recieverid), text);

    if(IsPlayerConnected(playerid))
    {
        if(AccInfo[playerid][Level] >= 8)
        {
            if(AccInfo[playerid][ReadPM] == 1)
            {
        SendClientMessage(playerid, grey, string);
            }
        }
    }
    SaveIn("PMsLog",string);
i guess this gonna work.
Reply


Messages In This Thread
Help problem - by Spartaaaaa - 09.08.2014, 21:06
Re: Help problem - by Jay_Dixon - 09.08.2014, 21:16
Re: Help problem - by Spartaaaaa - 09.08.2014, 21:21
Re: Help problem - by Champ - 09.08.2014, 21:24
Re: Help problem - by Spartaaaaa - 09.08.2014, 21:31
Re: Help problem - by Champ - 09.08.2014, 21:35
Re: Help problem - by Spartaaaaa - 09.08.2014, 22:06
Re: Help problem - by Champ - 09.08.2014, 22:13
Re: Help problem - by Spartaaaaa - 09.08.2014, 22:18
Re: Help problem - by Champ - 09.08.2014, 22:25

Forum Jump:


Users browsing this thread: 3 Guest(s)