Does anyone know why this happens in mysql?
#1

Does anyone know why this happens in mysql?


Code:
Code:
		 	R = mysql_query(Servidor[ControlMySQL],"SELECT Nombre,Score FROM usuarios ORDER BY score DESC LIMIT 20",true);
			new name[MAX_PLAYER_NAME],score;
			strcat(lista,""BLANCO"#-Nombre\t"BLANCO"Score\t"BLANCO"Estado\n");
			new i,db = cache_num_rows();
			do{
			contador++;
			cache_get_value_index(i,0,name,sizeof(name));
		 	cache_get_value_int(i,1,score);
			format(linea,sizeof(linea),"#%d-%s\t"LIMA"%d\t%s\n",contador,name,score,ObtenerConeccion(name));
			strcat(lista,linea);
			i++;
			}while(i < db);
			if(!contador)return POFFSET[playerid] = 0 && SendClientMessage(playerid,COLOR_ROJO,"* No hay usuarios en el top score.") && cache_delete®;
			ShowPlayerDialog(playerid,DIALOGO_TOP_SCORE,DIALOG_STYLE_TABLIST_HEADERS,""BLANCO"TOP - "LIMA"Score",lista,"Siguiente","Salir");
			cache_delete®;
Reply
#2

"this". Ok, that is helpful. What the fuck is "this"? Provide context. What is the problem and what is the expected result.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)