what wrong!!
#1

hey i do a dilaog for online donors but when 2+ donors ingame its show only the first one not all.

code:
Код:
CMD:donors(playerid, params[])
{
   new count = 0, string[900];
   for(new i = 0; i < MAX_PLAYERS; i ++)
   {

		  if(PlayerInfo[i][dRank] >= 1){
             count++;
             
       format(string, sizeof(string),"{0affea}%s | {FF7E19}dRank: %d\n",PlayerName2(i), PlayerInfo[i][dRank]);
             
}
   }
   if (!count) SendClientMessage(playerid, COLOR_PINK,"No Donors Online");
  else ShowPlayerDialog(playerid, DIALOG_WELCOMED, DIALOG_STYLE_MSGBOX, "{FF0000}Current Online Donors:", string, "Close", "");
   return 1;
}
Reply


Messages In This Thread
what wrong!! - by SNAKE12 - 13.06.2015, 15:06
AW: what wrong!! - by Kaliber - 13.06.2015, 15:09
Re: AW: what wrong!! - by SNAKE12 - 13.06.2015, 15:26
Re: AW: what wrong!! - by Alpay0098 - 13.06.2015, 15:41
AW: what wrong!! - by Kaliber - 13.06.2015, 15:52

Forum Jump:


Users browsing this thread: 6 Guest(s)