AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   [REQ] Top 15 (motd function) (https://forums.alliedmods.net/showthread.php?t=261502)

BaD CopY 04-14-2015 08:42

[REQ] Top 15 (motd function)
 
Hello everyone,

can anyone crate a plugin who shows motd if player type: /top15. In motd you can see top15 best players in server and their statistics [position, nick, kills, deaths, last connect (DD.MM.YY)].

BG COLOR = #000000
FONT COLOR = #49B630
SIZE = 2

THXX IN ADVANCE...

pUnk 04-14-2015 09:43

Re: [REQ] Top 15 (motd function)
 
https://forums.alliedmods.net/showthread.php?t=80103
or
https://forums.alliedmods.net/showthread.php?t=247312
or
https://forums.alliedmods.net/showth...=player+status

BaD CopY 04-28-2015 06:42

Re: [REQ] Top 15 (motd function)
 
#TOP...

BaD CopY 07-03-2015 19:35

Re: [REQ] Top 15 (motd function)
 
bump...

BaD CopY 07-26-2015 16:07

Re: [REQ] Top 15 (motd function)
 
bump again :@

Linkin Hisoka 07-26-2015 19:56

Re: [REQ] Top 15 (motd function)
 
stop double post or you receive no help

BaD CopY 07-27-2015 07:49

Re: [REQ] Top 15 (motd function)
 
I didn't post this topic two time, I'm just bumping!
I will recive help if I stop bumping ?

BaD CopY 09-27-2015 04:58

Re: [REQ] Top 15 (motd function)
 
Bump. !

zombiesucker 09-27-2015 05:02

Re: [REQ] Top 15 (motd function)
 
you mean like this?
PHP Code:

#include <amxmodx>
#include <csx>

public plugin_init()
{
    
register_plugin("Stats new""1.0""meNe")
    
register_clcmd("say /top15""show_top"0);
}

public 
show_top(id)
{
    
show_menu(id0"\n"1)
    new 
menu menu_create("\rTOP 15""menu_handler")
    new 
szmenu[512]
    new 
iMax get_statsnum()
    new 
izStats[8], izBody[8], t_sName[32];
    
iMax 100

    
for (new 0iMaxi++)
    {
        
get_stats(iizStatsizBodyt_sName31);
        
replace_all(t_sName31"<""[");
        
replace_all(t_sName31">""]");
        
formatex(szmenu511"\y%s \r| \wKills:\r %d \r| \wDeaths:\r %d"t_sNameizStats[0], izStats[1]);
        
menu_additem(menuszmenu)
    }

    
menu_setprop(menuMPROP_EXITMEXIT_ALL)
    
menu_display(idmenu0)
}
 
public 
menu_handler(idmenuitem)
{
    switch(
item)    
    {
        case 
0..99:
        {
            
// your command
        
}
    }
    
menu_destroy(menu);
    return 
PLUGIN_HANDLED;


</span></span>

BaD CopY 09-27-2015 05:25

Re: [REQ] Top 15 (motd function)
 
Nop... I want motd with (only first 15 members sorted by kills - deaths): position, nick, kills, deaths, last connect (DD.MM.YY).


All times are GMT -4. The time now is 08:19.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.