AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   /top15 plugin (https://forums.alliedmods.net/showthread.php?t=271464)

UZ@IR 09-13-2015 02:19

/top15 plugin
 
Hello guys

i need a just /top15 plugin just like this
plis give me if any one have


http://i.imgur.com/ja6UgMv.png

Hartmann 09-13-2015 08:30

Re: /top15 plugin
 
What happens when you click on the number?

UZ@IR 09-13-2015 11:09

Re: /top15 plugin
 
when we press on number the /top15 closed

UZ@IR 09-15-2015 09:57

Re: /top15 plugin
 
any 1 help plis i want it

Dr Zayd 09-16-2015 12:45

Re: /top15 plugin
 
:D
https://forums.alliedmods.net/showthread.php?t=247312

UZ@IR 09-18-2015 11:39

Re: /top15 plugin
 
i dont want this dude i want /top15 plugin

meNe 09-20-2015 10:06

Re: /top15 plugin
 
Hello,
Try 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;



Dr Zayd 09-20-2015 18:04

Re: /top15 plugin
 
Quote:

Originally Posted by UZ@IR (Post 2344318)
i dont want this dude i want /top15 plugin

Its TOP15 Dude ? did you test it ?

UZ@IR 09-21-2015 07:39

Re: /top15 plugin
 
opssssssssssssss sorry for double Post
im so so sorry

UZ@IR 09-21-2015 07:48

Re: /top15 plugin
 
yup heartman,
thnxx so much mene it works!


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

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