[ayuda]Complementos en este dialog
#1

Hola quisiera saber como hacer q este dialogo muestre 5 jugadores que lograron mas kills en una ronda
Como si fuese un top 5

Quote:

Este dialogo yo no lo hice creditos %100 tincho


pawn Код:
/ Definнs:
new Asesinatos[MAX_PLAYERS];

// En OnPlayerConnect y OnPlayerDisconnect:
Asesinatos[playerid] = 0;

// En OnPlayerDeath:
Asesinatos[killerid] ++;

// En el comando de kills by dialog:
new ronda[128];
format(ronda, sizeof(ronda), "Kills: %d", Asesinatos[playerid]);
ShowPlayerDialog(playerid, 1111, DIALOG_STYLE_MSGBOX, "Kills:", ronda, "Aceptar", "Cancelar");
Reply
#2

Buscб en el post de funciones, hay una funciуn para ordenar arrays.

Por otro lado, ya hiciste un post sobre йsto trata de no repetir los temas y si no se te resolviу la duda utilizar el mismo tema anterior preguntando de nuevo la duda.
Reply
#3

-.- en fin contigo
Reply
#4

Quote:
Originally Posted by adrianxd
Посмотреть сообщение
-.- en fin contigo
Por que te enojas, el tiene toda la razуn, aquн esta lo que el dice
https://sampforum.blast.hk/showthread.php?pid=1792412#pid1792412
Reply
#5

hmm Gracias & no me enoje e.e
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)