• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] Top en 2d
#5
help



Code:
new objectId = CreateObject(19353,2214.05127,-57.67043, 28.17278,0.00000,0.00000,89.51998); // team 1.40

new pruebaa[300];



format(pruebaa, sizeof(pruebaa), "SELECT * FROM `usuarios` ORDER BY `Score` DESC LIMIT 3");



new rows = cache_num_rows(),Escore,prueba[50],nameplayer[MAX_PLAYER_NAME];



if(rows > 0)



{



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



for(new i=0; i<rows; i)



{



cache_get_value_name_int(i, "Score", Escore);



cache_get_value_name(i, "Nombre", nameplayer, MAX_PLAYER_NAME);



format(prueba, sizeof(prueba), "%s#%d\t%s? %d Score\n",prueba,i,nameplayer,Escore);



}



}

? ? SetObjectMaterialText(objectId, prueba, 0, OBJECT_MATERIAL_SIZE_256x128,"Arial", 28, 1, 0xFFFF8200, 0xFF000000, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
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: