Getting the name of listitem
#3

Код:
case 8:
		            {
		                new query[256], yazi[512], string[512];
					    format(query, sizeof(query), "SELECT * FROM klanlar");
					    mysql_query(query);
					    mysql_store_result();
					    new i = 0;
					    while(mysql_fetch_row_format(query,"|"))
					    {
					        i++;
					        mysql_fetch_field_row(string,"klan_isim");
					        format(yazi,sizeof(yazi),"%s\n{ff0000}%d) {ffffff}%s\n",yazi,i, string);
					    }
					    mysql_free_result();
		                ShowPlayerDialog(playerid, KLAN_WS, DIALOG_STYLE_LIST, "KLAN WS",yazi,"Davet","Iptal");
		            }
		        }
		    }
		}
		case KLAN_WS:
		{
		    if(response)
		    {
		        //Klan sorgula
				new query[256], klanWsLider[MAX_PLAYERS];
				format(query, sizeof(query),"SELECT * FROM klanlar WHERE klan_isim = '%s'",listitem);
				mysql_query(query);
                                .
                                .
                                .
Did not understand what I mean. With the name of the incoming data dialog does not question the need to Lisitem another. But I can not get the name of the incoming data with listitem. How do I get?
Reply


Messages In This Thread
Getting the name of listitem - by Nimrodcame - 15.05.2013, 13:26
Re: Getting the name of listitem - by Vince - 15.05.2013, 16:09
Re: Getting the name of listitem - by Nimrodcame - 15.05.2013, 18:00
Re: Getting the name of listitem - by Nimrodcame - 16.05.2013, 19:06
Re: Getting the name of listitem - by Knappen - 16.05.2013, 19:12
Re: Getting the name of listitem - by marshallbrown - 16.05.2013, 19:28

Forum Jump:


Users browsing this thread: 2 Guest(s)