[SOLVED]Please Help this Rank Chat
#3

Quote:
Originally Posted by Joe Staff
Put them in reverse order, and add return 0; after each SendClientMessage

pawn Код:
if(GetPlayerScore(playerid) >=210)
  {
    new str[128], Pname[24];
    GetPlayerName(playerid, Pname, 24);
    format(str, sizeof(str), "[GeneralOfTheArmy]%s: %s", Pname, text);
    SendClientMessageToAll(COLOR_RED, str);
    return 0;
}
if(GetPlayerScore(playerid) >=110)
  {
    new str[128], Pname[24];
    GetPlayerName(playerid, Pname, 24);
    format(str, sizeof(str), "[General]%s: %s", Pname, text);
    SendClientMessageToAll(COLOR_DARKRED, str);
    return 0;
}
//etc.
Thanks And I will try
Reply


Messages In This Thread
[SOLVED]Please Help this Rank Chat - by Hijolion - 01.01.2010, 04:17
Re: [UNSOLVED]Please Help this Rank Chat - by Joe Staff - 01.01.2010, 04:32
Re: [UNSOLVED]Please Help this Rank Chat - by Hijolion - 01.01.2010, 04:33

Forum Jump:


Users browsing this thread: 1 Guest(s)