[Help] Dialog Help?
#2

pawn Код:
CMD:showplayers(playerid, params[])
{
  new i,name[MAX_PLAYER_NAME],show[1300];
  format(show,sizeof(show),"");
  for(i=0;i<MAX_PLAYERS;i++)
   {
   if(IsPlayerConnected(i))
      {
         GetPlayerName(i,name,sizeof(name));
         strcat(show,name,sizeof(show));
         strcat(show,"\n",sizeof(show));
      }
   }
ShowPlayerDialog(playerid, 100, DIALOG_STYLE_LIST, "{00cc00}Online Players", show, "Cool", "");
return 1;
}
Reply


Messages In This Thread
[Help] Dialog Help? - by Elie1996 - 20.04.2014, 06:55
Re: [Help] Dialog Help? - by BroZeus - 20.04.2014, 07:03
Re: [Help] Dialog Help? - by itsCody - 20.04.2014, 07:20

Forum Jump:


Users browsing this thread: 1 Guest(s)