AlliedModders

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

JoaoVieira 01-27-2016 13:06

[REQ] Top 15 Menu Plugin
 
Hi , can some one help me on this?
I want to click on number of player (1/15) and it will show the player kills / deaths / Ratio



Here is the code.
PHP Code:

#include <amxmodx>
#include <csx>
#include <colorchat>

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

public 
show_top(id)
{
    
show_menu(id0"\n"0<<1<<2<<3<<4<<5<<6<<7<<8<<9<<10<<11<<12<<13<<14<<15)
    new 
menu menu_create("\r[SMART TEAM PORTUGAL]^n\dTOP15","menu_handler")
    new 
szmenu[512]
    new 
iMax get_statsnum()
    new 
t_sName[32];
    
iMax 15
    
    
for (new 0iMaxi++)
    {
        
get_stats(it_sName31);
        
replace_all(t_sName31"<""[");
        
replace_all(t_sName31">""]");
        
formatex(szmenu511"[\y%s\w]"t_sName);
        
menu_additem(menuszmenu)
    }
    
    
menu_setprop(menuMPROP_EXITMEXIT_ALL)
    
menu_display(idmenu0)
}

public 
menu_handler(idmenuitem)
{
    switch(
item)    
    {
        case 
1:
        {
            
        }
        case 
2:
        {
            
        }
        case 
3:
        {
            
        }
        case 
4:
        {
            
        }
        case 
5:
        {
            
        }
        case 
6:
        {
            
        }
        case 
7:
        {
            
        }
        case 
8:
        {
            
        }
        case 
9:
        {
            
        }
        case 
10:
        {
            
        }
        case 
11:
        {
            
        }
        case 
12:
        {
            
        }
        case 
13:
        {
            
        }
        case 
14:
        {
            
        }
        case 
15:
        {
            
        }
    }
    
menu_destroy(menu);
    return 
PLUGIN_HANDLED;


Thanks.

JoaoVieira 01-27-2016 15:54

Re: [REQ] Top 15 Menu Plugin
 
Some one?

Mordekay 01-27-2016 16:30

Re: [REQ] Top 15 Menu Plugin
 
Yes HERE

JoaoVieira 01-27-2016 16:48

Re: [REQ] Top 15 Menu Plugin
 
Quote:

Originally Posted by Mordekay (Post 2387321)
Yes HERE

are u kiddin me?

Mordekay 01-27-2016 17:00

Re: [REQ] Top 15 Menu Plugin
 
No.
Obviously you did not read the rules. Otherwise you would know that bumping is not allowed here.

JoaoVieira 01-27-2016 17:14

Re: [REQ] Top 15 Menu Plugin
 
Quote:

Originally Posted by Mordekay (Post 2387330)
No.
Obviously you did not read the rules. Otherwise you would know that bumping is not allowed here.

I didn't wanted to bump the thread i wanted some one to help me -.- it wasn't propose... :oops::oops::oops:

JoaoVieira 02-12-2016 13:37

Re: [REQ] Top 15 Menu Plugin
 
Bump , more than 15 days passed :/

crnova 02-12-2016 18:37

Re: [REQ] Top 15 Menu Plugin
 
Can you ppl read the fucking rules please

JoaoVieira 02-12-2016 18:41

Re: [REQ] Top 15 Menu Plugin
 
Quote:

Originally Posted by crnova (Post 2392417)
Can you ppl read the fucking rules please

Did u see the date of my request ? i said , bump 15 days passed , i know the bump is not premited here , but its like , instead of creating a new thread again just Bump the old thread .

EpicMonkey 02-13-2016 09:56

Re: [REQ] Top 15 Menu Plugin
 
ratio of what?


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

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