Whats wrong with my cmd ?
#2

At the first
Код:
if(PlayerInfo[i][pVIP] == 1)
        {
      GetPlayerName(i, sendername, 50);
      format(string, 256, " {FF00E1}VIP[{87FF00}Faca{FFB400}]:{87FF00} %s\n\n", sendername);

     }
// You should use
if(PlayerInfo[i][pVIP] == 1)
        {
      GetPlayerName(i, sendername, 50);
      format(string, 256, "%s {FF00E1}VIP[{87FF00}Faca{FFB400}]:{87FF00} %s\n\n",string, sendername);

     }
When two players are rank 1 the first player will not be showed because the string will get cleared if you doesn't use %s at this one.
You should use format(string,sizeof(string),""); above the loop so the string text you used before this function will get removed.
Reply


Messages In This Thread
Whats wrong with my cmd ? - by GBLTeam - 30.03.2011, 16:11
Re: Whats wrong with my cmd ? - by KaleOtter - 30.03.2011, 19:14
Re: Whats wrong with my cmd ? - by kickflipdude - 30.03.2011, 19:32

Forum Jump:


Users browsing this thread: 1 Guest(s)