Raised This Month: $ Target: $400
 0% 

Furien Menu For CT


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
vitorcara
New Member
Join Date: Nov 2010
Old 09-24-2011 , 06:28   Furien Menu For CT
Reply With Quote #1

Hello,
I want show this menu, for anti furien team and wanted to press the letter "M" to open the menu and also wanted to open the first time no longer shows the menu but, i don't know .....

PHP Code:
#include <amxmodx> 
#include <amxmisc> 
#include <cstrike> 
#include <fun> 

#define PLUGIN    "Armas"
#define AUTHOR    "MaxDK"
#define VERSION    "1.0"

new g_iOpened[33]

public 
plugin_init() 

    
register_plugin(PLUGINVERSIONAUTHOR)
    
register_clcmd"say /armas","Armas"
    
register_clcmd"say_team /armas","Armas")

 
 


public 
armasid )
{    
    if( 
is_user_aliveid ) )
        return 
PLUGIN_HANDLED;
 } 

 public 
Armas(id)
 {
    new 
menu menu_create("\rAntiFurien:  :""menu_handler");
   
     
menu_additem(menu"AK47""1"0);
    
menu_additem(menu"M4A1""2"0);
    
menu_additem(menu"MP5 Navy""3"0);
    
menu_additem(menu"XM1014""4"0); 
    
menu_additem(menu"M3""5"0);
    
menu_additem(menu"AWP ""6"0);
    
    
menu_setprop(menuMPROP_EXITMEXIT_ALL);
   
    
menu_display(idmenu0);
 


 }
 public 
menu_handler(idmenuitem)
{
    if( 
item == MENU_EXIT )
    {
        
menu_destroy(menu);
        return 
PLUGIN_HANDLED;
    }
    new 
data[6], iName[64];
    new 
accesscallback;
    
menu_item_getinfo(menuitemaccessdata,5iName63callback);
    new 
key str_to_num(data);
 
    switch(
key)
    {
        case 
1:
        {
    
give_item(id"weapon_ak47")
    
give_item(id"weapon_deagle")
    
cs_set_user_bpammo(id,CSW_AK47,90)  
    
cs_set_user_bpammo(id,CSW_DEAGLE,35
        }
        case 
2:
        {
    
give_item(id"weapon_m4a1")
    
give_item(id"weapon_deagle")
    
cs_set_user_bpammo(id,CSW_M4A1,90)  
    
cs_set_user_bpammo(id,CSW_DEAGLE,35
        }
        case 
3
        {
    
give_item(id"weapon_mp5navy")
    
give_item(id"weapon_deagle")
    
cs_set_user_bpammo(id,CSW_MP5NAVY,120)  
    
cs_set_user_bpammo(id,CSW_DEAGLE,35
       }
case 
4
        {
    
give_item(id"weapon_xm1014")
    
give_item(id"weapon_deagle")
    
cs_set_user_bpammo(id,CSW_XM1014,32)  
    
cs_set_user_bpammo(id,CSW_DEAGLE,35
        }
case 
5
        {
        
    
give_item(id"weapon_m3")
    
give_item(id"weapon_deagle")
    
cs_set_user_bpammo(id,CSW_M3,32)  
    
cs_set_user_bpammo(id,CSW_DEAGLE,35
        }
    case 
6
    {
     
give_item(id"weapon_awp")
    
give_item(id"weapon_deagle")
    
cs_set_user_bpammo(id,CSW_M3,32)  
    
cs_set_user_bpammo(id,CSW_AWP,35
        }
    }

      
    
    
menu_destroy(menu);
    return 
PLUGIN_HANDLED;
 } 
Please Help Me
vitorcara is offline
quilhos
Veteran Member
Join Date: Jun 2010
Old 07-25-2012 , 23:08   Re: Furien Menu For CT
Reply With Quote #2

http://forums.alliedmods.net/showthread.php?p=1757522
__________________
ELO RATING SYSTEM - SQL [COMPLETE]
Quote:
Originally Posted by Liverwiz View Post
DDDRRRRAAAAMMMMAAAAA!!!???

Put this shit on pause while i go get some popcorn!!
quilhos 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 19:32.


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