[HELP]Text line....
#10

SendClientMessageToAll will still send the message to EVERYONE.

pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i))
        {
            if(GetPlayerVirtualWorld(i) == GetPlayerVirtualWorld(playerid))
            {
            /* THIS */
                new
                    sTextChat[800];
                format(sTextChat, sizeof(sTextChat), "%s: "#EMB_COLOR_WHITE"%s", name(playerid), text);
                SendClientMessage(i, GetPlayerColor(playerid), sTextChat);
            /* THIS */
            }
            return 0;
        }
    }
Reply


Messages In This Thread
[HELP]Text line.... - by TheBluec0de - 09.06.2012, 12:32
Re: [HELP]Text line.... - by TheBluec0de - 09.06.2012, 13:04
Re: [HELP]Text line.... - by .FuneraL. - 09.06.2012, 13:05
Re: [HELP]Text line.... - by TheBluec0de - 09.06.2012, 13:11
Re: [HELP]Text line.... - by .FuneraL. - 09.06.2012, 13:24
Re: [HELP]Text line.... - by TheBluec0de - 09.06.2012, 13:29
Re: [HELP]Text line.... - by TheBluec0de - 09.06.2012, 14:08
Re: [HELP]Text line.... - by TheBluec0de - 09.06.2012, 14:43
Re: [HELP]Text line.... - by JaKe Elite - 09.06.2012, 14:51
Re: [HELP]Text line.... - by JhnzRep - 09.06.2012, 14:54

Forum Jump:


Users browsing this thread: 3 Guest(s)