Raised This Month: $ Target: $400
 0% 

help !!!!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
leonel rompa
Junior Member
Join Date: Jun 2009
Old 06-29-2009 , 05:52   help !!!!
Reply With Quote #1

guys, I wanted to make a menu in the style amxmodmenu, so as to configure the server, ping as activation of some, such as you press the number 1 (1.ping), Aid opens a menu of configuration of ping, number 2 Aid , opens another menu settings and so on, is to create this menu style amxmodmenu, who can help you! sorry my english [/php]

Last edited by leonel rompa; 06-29-2009 at 18:36.
leonel rompa is offline
leonel rompa
Junior Member
Join Date: Jun 2009
Old 06-29-2009 , 18:35   Re: help !!!!
Reply With Quote #2

PHP Code:
#include <amxmodx>
#include <amxmisc>
#pragma semicolon 1
#define menucmd "say /menu"
#define menudescription "[pro.evolution]"
#define menutitle "[gungame] configuracao"
#define activity 1
#define ADMIN_LEVEL ADMIN_KICK
public plugin_init()
{
  
register_plugin("menu gungame""1.00""leonel");
  
register_concmd(menucmd"cmd_menucmd"ADMIN_LEVELmenudescription);
}
public 
cmd_menucmd(idlevelcid)
{
  if(
cmd_access(idlevelcid0))
  {
    new 
menu menu_create(menutitle"handle_menucmd");
    
menu_additem(menu"Abilitar deathmath""1"0);
    
menu_additem(menu"Desabilitar deathmath""1"0);
    
menu_additem(menu"Abilitar modo por time""1"0);
    
menu_additem(menu"Desabilitar modo por time""1"0);
    
menu_additem(menu"Max de ping 150""1"0);
    
menu_additem(menu"Max de ping 200""1"0);
    
menu_additem(menu"Max de ping 250 ""1"0);
    
menu_additem(menu"Max de ping 300""1"0);
    
menu_additem(menu"Ativar gungame""1"0);
    
menu_additem(menu"Desativar gungame""1"0);    
    
menu_additem(menu"Restart""1"0);
    
menu_display(idmenu0); 
guys, I wanted to make a menu in the style amxmodmenu, so as to configure the server, ping as activation of some, such as you press the number 1 (1.ping), Aid opens a menu of configuration of ping, number 2 Aid , opens another menu settings and so on, is to create this menu style amxmodmenu, who can help you! sorry my english
leonel rompa 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 15:25.


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