Chat id what player cant see the message?
#1

Hm what if player cant see the message? if I set it to SendClientMessage
Like something like this


pawn Код:
if(Chat[playerid] == true)
    {
        new string[128];
        format(string,sizeof(string),"(%i) %s: {FFFFFF}%s",playerid, ReturnName(playerid),text);
        SendClientMessageToAll(GetPlayerColor(playerid), string);
        if(Chat[playerid] == false) // For the ones who didnt type /chatid
        {
            format(string,sizeof(string),"%s: {FFFFFF}%s",playerid, ReturnName(playerid),text);
            SendClientMessageToAll(GetPlayerColor(playerid), string);
            //SendClientMessage(playerid, -1, string);
        }
    }
    else
    {
        new string[128];
        format(string,sizeof(string),"%s: {FFFFFF}%s",ReturnName(playerid),text);
        SendClientMessageToAll(GetPlayerColor(playerid), string);
    }
Reply


Messages In This Thread
Chat id what player cant see the message? - by DerickClark - 30.07.2015, 23:01
Re: Chat id what player cant see the message? - by Abagail - 30.07.2015, 23:27
Re: Chat id what player cant see the message? - by DerickClark - 30.07.2015, 23:45
Re: Chat id what player cant see the message? - by youssefehab500 - 30.07.2015, 23:55

Forum Jump:


Users browsing this thread: 4 Guest(s)