stock TaskaBetolt(playerid){new query[128+1], dialog[1024+1];new ertek;for(new i = 1; i < ITEMS; i++){format(query, sizeof(query), \"SELECT %i FROM taska WHERE username = \'%s\'\", i, playername(playerid));mysql_query(query);mysql_store_result();ertek = mysql_fetch_int();if(ertek == 0) { continue; }if(strlen(dialog)) { format(dialog,sizeof(dialog),\"%s\\n%s\",dialog, taskatartalom);}else { format(dialog,sizeof(dialog),\"%s\",taskatartalom);}mysql_free_result();}ShowPlayerDialog(playerid, TASKA, DIALOG_STYLE_LIST, \"Táska\", dialog, \"Választ\", \"Kilép\");}
\"SELECT %i FROM taska WHERE username = \'%s\'\"
\"SELECT ertek FROM taska WHERE username = \'%s\'\"
mysql_query(\"SELECT * FROM taska WHERE username = \'%s\'\");