Dialog help
#1

Hello, I have a problem with the dialog.
I want to be taken the names of banned accounts, and then to be written all in the dialog
how can I?

I tried to do something but until now it did not work,in the dialog I was just a name written, even though they were two or three banned accounts.

Код:
				new query[200]/*,name[24]*/;
				format(query,sizeof(query),"SELECT name FROM accountdata WHERE Banned = 1");
				mysql_query(query);
				mysql_store_result();
				while(mysql_retrieve_row())
				{
						new result[50];
						//sscanf(resultline,"p<|>s[24]",name);
						new string[200];
							format(string,sizeof(string),"%s\n",name);
							ShowPlayerDialog(playerid,DIALOG_PLAYERBANNATI,DIALOG_STYLE_MSGBOX,"Player Bannati",string,"Indietro","");
				}
Reply
#2

Up Up
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)