Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- ___ ___ ___ ___ ___
- /\ \ /\__\ /\ \ _____ /\__\ /\ \
- _\:\ \ /:/ _/_ \:\ \ /::\ \ /:/ _/_ \:\ \
- /\ \:\ \ /:/ /\__\ \:\ \ /:/\:\ \ /:/ /\__\ \:\ \
- _\:\ \:\ \ /:/ /:/ _/_ _____\:\ \ /:/ \:\__\ /:/ /:/ _/_ _____\:\ \
- /\ \:\ \:\__\ /:/_/:/ /\__\ /::::::::\__\ /:/__/ \:|__| /:/_/:/ /\__\ /::::::::\__\
- \:\ \:\/:/ / \:\/:/ /:/ / \:\~~\~~\/__/ \:\ \ /:/ / \:\/:/ /:/ / \:\~~\~~\/__/
- \:\ \::/ / \::/_/:/ / \:\ \ \:\ /:/ / \::/_/:/ / \:\ \
- \:\/:/ / \:\/:/ / \:\ \ \:\/:/ / \:\/:/ / \:\ \
- \::/ / \::/ / \:\__\ \::/ / \::/ / \:\__\
- \/__/ \/__/ \/__/ \/__/ \/__/ \/__/
- */
- // Porfavor não retire os créditos.
- prontera,147,169,5 script Ranking PvP 47,{
- Mes "["+strnpcinfo(1)+"]";
- Mes "Gostaria de ver o Ranking?";
- next;
- if(select("Sim:Não") == 2){
- Mes "["+strnpcinfo(1)+"]";
- Mes "Volte quando precisar ver o Ranking.";
- Close;
- }
- Close2;
- set @nome$,"";
- set @kills,0;
- set @mortes,0;
- query_sql "SELECT name,kills,dies FROM pvpm_data ORDER BY ratio DESC LIMIT 10",@nome$,@kills,@mortes;
- if(@nome$ == ""){
- dispbottom "Não há nenhum ranking para exibir.";
- end;
- }
- dispbottom "/ ============ Ranking PvP ============ /";
- dispbottom "Posição - Nome - Matou - Morreu";
- dispbottom " ";
- for (set @i,0; @i < 10; set @i,@i+1)
- dispbottom (@i+1)+"° ~ "+@nome$[@i]+" ~ "+@kills[@i]+" ~ "+@mortes[@i];
- end;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement