[HELP]Text twice?
#1

hey guys again, i've come across this its probably nothing but could you take a look thanks.

pawn Код:
//---------------[Coloured Chat, Normal]------------------//
    if (IsPlayerConnected(playerid))
    {
        if(gTeam[playerid] == TEAM_CT)
        {
          new CTString[128];
            format(CTString, 128, "Counter Terrorist %s: %s",GetPlayerNameEx(playerid), text);
            SendClientMessageToAll(COLOR_MARINE, CTString);
            print(CTString);
            WriteLog("chat",CTString);
            return 1;
        }
        else if(gTeam[playerid] == TEAM_TT)
        {
          new TString[128];
            format(TString, 128, "Terrorist %s: %s",GetPlayerNameEx(playerid), text);
            SendClientMessageToAll(COLOR_ORANGE, TString);
            print(TString);
            WriteLog("chat",TString);
            return 0;
        }
    }
all that happens is it says Counter (Terrorist): %s: Message but then after it it says %s message, any ideas? thanks.

-©un3o.
Reply


Messages In This Thread
[HELP]Text twice? - by [NYRP]Mike. - 13.12.2009, 15:57
Re: [HELP]Text twice? - by Niixie - 13.12.2009, 16:09
Re: [HELP]Text twice? - by Finn - 13.12.2009, 16:13
Re: [HELP]Text twice? - by [NYRP]Mike. - 13.12.2009, 16:14

Forum Jump:


Users browsing this thread: 1 Guest(s)