Raised This Month: $ Target: $400
 0% 

create a menu of server setup_--HELP__


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
leonel rompa
Junior Member
Join Date: Jun 2009
Old 06-30-2009 , 15:52   create a menu of server setup_--HELP__
Reply With Quote #1

PHP Code:
#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);
  }
  return 
PLUGIN_HANDLED;

I wanted was to create sub menus for each such as you tighten 1.configuraçao of gungame Aid is a sub-menu with 1.activate 2.disable
Aid another menu of ping and others that the code
You can create this menu in eslito amxmodmenu to configure server
leonel rompa is offline
 



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:27.


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