Raised This Month: $32 Target: $400
 8% 

I Need This Plugin :s


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Leonardo451
Junior Member
Join Date: Jan 2014
Location: Portugal
Old 07-31-2014 , 08:45   I Need This Plugin :s
Reply With Quote #1

Hi People, Someone can make me a plugin menu with access to

/rank
/rankstats
/top15
/admin
/rs
/vipinfo

They can Help Me?
Leonardo451 is offline
Phant
Veteran Member
Join Date: Sep 2009
Location: New Jersey
Old 07-31-2014 , 09:11   Re: I Need This Plugin :s
Reply With Quote #2

Wrong Section _.

Use this tutorial:
https://forums.alliedmods.net/showth...6364#BasicMenu
It's pretty easy.
Phant is offline
Send a message via ICQ to Phant
Leonardo451
Junior Member
Join Date: Jan 2014
Location: Portugal
Old 07-31-2014 , 11:34   Re: I Need This Plugin :s
Reply With Quote #3

Do I Want an Equal Menu
it can do for me?
Leonardo451 is offline
Eagle07
Veteran Member
Join Date: May 2014
Location: Morocco :D
Old 07-31-2014 , 20:14   Re: I Need This Plugin :s
Reply With Quote #4

Ex :
PHP Code:
#include <amxmodx>

 
public plugin_init()
 {

    
register_clcmd"say /menu","AwesomeMenu" );
 
 }

 public 
AwesomeMenuid )
 {

    new 
menu menu_create"\rMenu!:""menu_handler" );
    
    
menu_additemmenu"Your Rank""1");
    
menu_additemmenu"Rank Stats""2");
    
menu_additemmenu"Top 15 Players""3");
    
menu_additemmenu"Admin's Online""4");
    
menu_additemmenu"Restart Your Score""5");
    
menu_additemmenu"V.I.P Information""6");
    
menu_setpropmenuMPROP_EXITMEXIT_ALL );
    
menu_displayidmenu);

 }
 
 public 
menu_handleridmenuitem )
 {

    switch( 
item )
    {
    case 
1client_cmd(id,"say /rank")
    case 
2client_cmd(id,"say /rankstats")
    case 
3client_cmd(id,"say /top15")
    case 
4client_cmd(id,"say /admin")
    case 
5client_cmd(id,"say /rs")
    case 
6client_cmd(id,"say /vipinfo")
    }

    
menu_destroymenu );
    return 
PLUGIN_HANDLED;
 } 
__________________
Eagle07 is offline
Leonardo451
Junior Member
Join Date: Jan 2014
Location: Portugal
Old 07-31-2014 , 20:21   Re: I Need This Plugin :s
Reply With Quote #5

Ty [E]aGle

Last edited by Leonardo451; 07-31-2014 at 20:21.
Leonardo451 is offline
Leonardo451
Junior Member
Join Date: Jan 2014
Location: Portugal
Old 07-31-2014 , 20:52   Re: I Need This Plugin :s
Reply With Quote #6

[E]aGle the Plugin is not working correctly
Leonardo451 is offline
Flick3rR
Veteran Member
Join Date: Feb 2014
Location: Bulgaria, Stara Zagora
Old 07-31-2014 , 21:15   Re: I Need This Plugin :s
Reply With Quote #7

Yes, because he is switchin the item and not beginning from the zero. Leonardo, just replace the numbers after 'case' with one lower. Instead of 1, 2, 3... Make them 0, 1, 2, 3.... Did you get me?
__________________
Flick3rR is offline
Send a message via Skype™ to Flick3rR
Leonardo451
Junior Member
Join Date: Jan 2014
Location: Portugal
Old 07-31-2014 , 21:22   Re: I Need This Plugin :s
Reply With Quote #8

Okay , Thancks Flick3rR

Last edited by Leonardo451; 07-31-2014 at 21:26.
Leonardo451 is offline
Old 07-31-2014, 21:33
R3pTy
This message has been deleted by YamiKaitou. Reason: English Only
Old 07-31-2014, 21:38
Leonardo451
This message has been deleted by YamiKaitou. Reason: English Only
Dupreeh
BANNED
Join Date: Jul 2014
Location: GB
Old 07-31-2014 , 23:56   Re: I Need This Plugin :s
Reply With Quote #9

Quote:
Originally Posted by Eagle07 View Post
Ex :
PHP Code:
#include <amxmodx>

 
public plugin_init()
 {

    
register_clcmd"say /menu","AwesomeMenu" );
 
 }

 public 
AwesomeMenuid )
 {

    new 
menu menu_create"\rMenu!:""menu_handler" );
    
    
menu_additemmenu"Your Rank""1");
    
menu_additemmenu"Rank Stats""2");
    
menu_additemmenu"Top 15 Players""3");
    
menu_additemmenu"Admin's Online""4");
    
menu_additemmenu"Restart Your Score""5");
    
menu_additemmenu"V.I.P Information""6");
    
menu_setpropmenuMPROP_EXITMEXIT_ALL );
    
menu_displayidmenu);

 }
 
 public 
menu_handleridmenuitem )
 {

    switch( 
item )
    {
    case 
1client_cmd(id,"say /rank")
    case 
2client_cmd(id,"say /rankstats")
    case 
3client_cmd(id,"say /top15")
    case 
4client_cmd(id,"say /admin")
    case 
5client_cmd(id,"say /rs")
    case 
6client_cmd(id,"say /vipinfo")
    }

    
menu_destroymenu );
    return 
PLUGIN_HANDLED;
 } 
This plugin "very old". 2012. One russian friend wrote this. He called this plugin: Public menu
Dupreeh is offline
Send a message via ICQ to Dupreeh Send a message via AIM to Dupreeh Send a message via Yahoo to Dupreeh Send a message via Skype™ to Dupreeh
Old 08-01-2014, 10:10
ReD MaN
This message has been deleted by ReD MaN.
ReD MaN
Member
Join Date: Jun 2014
Location: i dont Know --'
Old 08-01-2014 , 10:11   Re: I Need This Plugin :s
Reply With Quote #10

Try This !

PHP Code:
#include <amxmodx>

#define PLUGIN "Menu"
#define VERSION "1.0"
#define AUTHOR "Me :-)"

public plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_clcmd("say /menu""menu")
    
register_clcmd("say_team /menu""menu")
}

public 
menu(id)
{
    new 
menu menu_create("\r|| New Menu ||^n""menu_Handle")
    
    
menu_additem(menu"Your Rank""1")
    
menu_additem(menu"Rank Stats""2")
    
menu_additem(menu"Top 15 Players""3")
    
menu_additem(menu"Admin's Online""4")
    
menu_additem(menu"Restart Your Score""5")
    
menu_additem(menu"V.I.P Information""6")
    
    
menu_display(idmenu)
}

public 
menu_Handle(id,menu,item)
{
    if(
item == MENU_EXIT)
    {
        
menu_destroy(menu);
        return 
PLUGIN_CONTINUE;
    }
    
    new 
data[6], name[64], accesscallback
    menu_item_getinfo
(menuitemaccessdata5name63callback)
    
    switch(
str_to_num(data))
    {
        case 
1:
            
client_cmd(id,"say /rank")
        case 
2:
            
client_cmd(id,"say /rankstats")
        case 
3:
            
client_cmd(id,"say /top15")
        case 
4:
            
client_cmd(id,"say /admin")
        case 
5:
            
client_cmd(id,"say /rs")
        case 
6:
            
client_cmd(id,"say /vipinfo")
    }
    
    
menu_destroy(menu)
    return 
PLUGIN_HANDLED

__________________
Forum logo : No Steam = No Support

Last edited by ReD MaN; 08-01-2014 at 10:12.
ReD MaN is offline
Reply



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 22:56.


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