• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] Top en 2d
#7
(2021-02-23, 10:23 PM)Radical Wrote:
PHP Code:
new objectId CreateObject(193532214.05127, -57.6704328.172780.000000.0000089.51998); // team 1.40
new pruebaa[300];

new 
Cacheresult mysql_query(MYSQL_DEFAULT_HANDLE"SELECT * FROM `usuarios` ORDER BY `Score` DESC LIMIT 3");

new 
rows cache_num_rows(), Escoreprueba[50], nameplayer[MAX_PLAYER_NAME];

if (
rows)

{

prueba "{FFFFFF}Lista 3 mejores Scores\n\n";

for (new 
0rowsi)

{

cache_get_value_name_int(i"Score"Escore);

cache_get_value_name(i"Nombre"nameplayerMAX_PLAYER_NAME);

format(pruebasizeof(prueba), "%s#%d\t%s  %d Score\n"pruebai  1nameplayerEscore);

}
cache_delete(result);

}
SetObjectMaterialText(objectIdprueba0OBJECT_MATERIAL_SIZE_256x128"Arial"2810xFFFF82000xFF000000OBJECT_MATERIAL_TEXT_ALIGN_CENTER); 


Gracias
Programador b?sico

  Reply


Messages In This Thread
Top en 2d - by Hitler - 2021-02-23, 02:09 AM
RE: Top en 2d - by destiezk - 2021-02-23, 10:17 AM
RE: Top en 2d - by Hitler - 2021-02-23, 02:32 PM
RE: Top en 2d - by Radical - 2021-02-23, 04:20 PM
RE: Top en 2d - by Hitler - 2021-02-23, 06:36 PM
RE: Top en 2d - by Radical - 2021-02-23, 10:23 PM
RE: Top en 2d - by Hitler - 2021-02-24, 12:19 AM

Forum Jump: