Raised This Month: $305 Target: $400
 76%   Almost there!

[REQ] Top 15 Menu Plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
JoaoVieira
Senior Member
Join Date: May 2013
Location: Portugal
Old 01-27-2016 , 13:06   [REQ] Top 15 Menu Plugin
Reply With Quote #1

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.

Last edited by JoaoVieira; 01-27-2016 at 14:09.
JoaoVieira is offline
JoaoVieira
Senior Member
Join Date: May 2013
Location: Portugal
Old 01-27-2016 , 15:54   Re: [REQ] Top 15 Menu Plugin
Reply With Quote #2

Some one?
JoaoVieira is offline
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 01-27-2016 , 16:30   Re: [REQ] Top 15 Menu Plugin
Reply With Quote #3

Yes HERE
__________________

Mordekay is offline
JoaoVieira
Senior Member
Join Date: May 2013
Location: Portugal
Old 01-27-2016 , 16:48   Re: [REQ] Top 15 Menu Plugin
Reply With Quote #4

Quote:
Originally Posted by Mordekay View Post
Yes HERE
are u kiddin me?
JoaoVieira is offline
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 01-27-2016 , 17:00   Re: [REQ] Top 15 Menu Plugin
Reply With Quote #5

No.
Obviously you did not read the rules. Otherwise you would know that bumping is not allowed here.
__________________


Last edited by Mordekay; 01-27-2016 at 17:01.
Mordekay is offline
JoaoVieira
Senior Member
Join Date: May 2013
Location: Portugal
Old 01-27-2016 , 17:14   Re: [REQ] Top 15 Menu Plugin
Reply With Quote #6

Quote:
Originally Posted by Mordekay View Post
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...
JoaoVieira is offline
JoaoVieira
Senior Member
Join Date: May 2013
Location: Portugal
Old 02-12-2016 , 13:37   Re: [REQ] Top 15 Menu Plugin
Reply With Quote #7

Bump , more than 15 days passed :/
JoaoVieira is offline
crnova
Senior Member
Join Date: Sep 2015
Old 02-12-2016 , 18:37   Re: [REQ] Top 15 Menu Plugin
Reply With Quote #8

Can you ppl read the fucking rules please
crnova is offline
JoaoVieira
Senior Member
Join Date: May 2013
Location: Portugal
Old 02-12-2016 , 18:41   Re: [REQ] Top 15 Menu Plugin
Reply With Quote #9

Quote:
Originally Posted by crnova View Post
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 .

Last edited by JoaoVieira; 02-12-2016 at 18:42.
JoaoVieira is offline
EpicMonkey
buttmonkey
Join Date: Feb 2012
Old 02-13-2016 , 09:56   Re: [REQ] Top 15 Menu Plugin
Reply With Quote #10

ratio of what?
EpicMonkey is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


Powered by vBulletin®
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Theme made by Freecode