Help SendMessage TO X
#7

pawn Code:
public OnPlayerText(playerid, text[])
{
    if(HelperChat[playerid] == 1)
    {
        if(playerid == Helper)
        {
            format(str,sizeof(str),"[HelperChat] Helper %s[%d]: %s",GetName(playerid),playerid,text);
        }
        else
        {
            format(str,sizeof(str),"[HelperChat] Player %s[%d]: %s",GetName(playerid),playerid,text);
        }
        SendClientMessage(Player,Orange,str);
        SendClientMessage(Helper,Orange,str);
        return 0;
    }
Reply


Messages In This Thread
Help SendMessage TO X - by lonako45 - 05.06.2012, 14:44
Re: Help SendMessage TO X - by lonako45 - 06.06.2012, 05:47
Re: Help SendMessage TO X - by Firo - 06.06.2012, 06:48
Re: Help SendMessage TO X - by lonako45 - 06.06.2012, 11:17
Re: Help SendMessage TO X - by Sandiel - 06.06.2012, 12:09
Re: Help SendMessage TO X - by lonako45 - 07.06.2012, 10:52
Re: Help SendMessage TO X - by MadeMan - 07.06.2012, 11:01
Re: Help SendMessage TO X - by lonako45 - 07.06.2012, 11:23
Re: Help SendMessage TO X - by lonako45 - 08.06.2012, 12:27
Re: Help SendMessage TO X - by lonako45 - 13.06.2012, 11:03

Forum Jump:


Users browsing this thread: 2 Guest(s)