Raised This Month: $ Target: $400
 0% 

[Help] Deagle Ammo


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
nNoA
Junior Member
Join Date: Mar 2012
Old 02-08-2013 , 20:54   [Help] Deagle Ammo
Reply With Quote #1

Hello , Im using antifurien menu and when i am anti furien i got deagle but with 7 bullets and no reload :/ ...
This is the script that i am using . Please can anyone help me !
Code:
#include <amxmodx> 
#include <cstrike> 
#include <fun> 
#include <amxmisc>  
#include <hamsandwich> 


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

public plugin_init() 
{ 
    register_plugin("Furiens Weapons", "1.0", "SpEeD'") 
    
    //Hamsandwich 
    RegisterHam(Ham_Spawn, "player", "Player_Spawn", 1) 
} 

public Player_Spawn(id) 
{ 
    if(is_user_alive(id)) 
    { 
        new CsTeams:team = cs_get_user_team(id) 
        switch(team) 
        { 
            case CS_TEAM_T: 
            { 
                strip_user_weapons(id) 
                give_item(id, "weapon_knife") 
                give_item(id, "weapon_hegrenade") //<---- 1 He grenade 
                
                give_item(id, "weapon_flashbang") //<---- 1. flash grenade 
                give_item(id, "weapon_flashbang") //<---- 2. flash grenade 
                give_item(id, "weapon_smokegrenade") //<---- 1.smoke grenade
            } 
            case CS_TEAM_CT: 
            { 
                strip_user_weapons(id) 
                give_item(id, "weapon_deagle")
                give_item(id, "weapon_flashbang") //<---- 1. flash grenade 
                give_item(id, "weapon_flashbang") //<---- 2. flash grenade
                give_item(id, "weapon_smokegrenade") //<---- 1.smoke grenade
                give_item(id, "weapon_knife") 
                new menu = menu_create("Weapon Menu Anti-Furien", "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_setprop(menu, MPROP_EXIT, MEXIT_ALL);  
                
                menu_display(id, menu, 0);  
                
            }
        }
    }  
}
public menu_handler(id, menu, item)  
{  
    if( item == MENU_EXIT )  
    {  
        menu_destroy(menu);  
        return PLUGIN_HANDLED;  
    }  
    new data[6], iName[64];  
    new access, callback;  
    menu_item_getinfo(menu, item, access, data,5, iName, 63, callback);  
    new key = str_to_num(data);  
    
    switch(key)  
    {  
        case 1:  
        {  
            give_item(id, "weapon_ak47")  
            
            cs_set_user_bpammo(id,CSW_AK47,210)    
            
        }  
        case 2:  
        {  
            give_item(id, "weapon_m4a1")  
            
            cs_set_user_bpammo(id,CSW_M4A1,210)    
            
        }  
        case 3:   
        {  
            give_item(id, "weapon_mp5navy")  
            
            cs_set_user_bpammo(id,CSW_MP5NAVY,210)    
            
        }  
        case 4:   
        {  
            give_item(id, "weapon_xm1014")  
            
            cs_set_user_bpammo(id,CSW_XM1014,255)    
            
        }  
        case 5:   
        {  
            
            give_item(id, "weapon_m3")  
            
            cs_set_user_bpammo(id,CSW_M3,255)    
            
        }  
    }  
    
    
    
    menu_destroy(menu);  
    return PLUGIN_HANDLED;  
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang2070\\ f0\\ fs16 \n\\ par }
*/
nNoA 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 20:39.


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