Cerere Anti-Furien Weapons

Categoria cu cereri de pluginuri si nu numai.

Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com

Forum rules
Accesează link-ul pentru a putea vedea regulile forumului

Daca doriti sa vi se modifice un plugin, va rugam postati aici .
Post Reply
User avatar
EuSemakka
Membru, skill +1
Membru, skill +1
Posts: 301
Joined: 26 Nov 2013, 17:40
Detinator Steam: Da
Detinator server CS: Furien.FaraLaG.Ro
Has thanked: 38 times
Been thanked: 7 times

26 Dec 2013, 15:13

As vrea si eu pluginul acesta va rog frumos :D
Image
Rapidserver
User avatar
Truth*
Scripter eXtreamCS
Scripter eXtreamCS
Posts: 766
Joined: 11 Oct 2013, 10:08
Detinator Steam: Da
SteamID: Ezeru
Reputatie: Fost moderator ajutator
Membru Club eXtreamCS (4 luni)
Nume anterior: HyperioN.
Scripter eXtreamCS
0.2 / 3
Fond eXtream: 0
Location: Sibiu
Has thanked: 44 times
Been thanked: 122 times
Contact:

26 Dec 2013, 16:53

Poftim :
| Afiseaza codul
#include <amxmodx> 
#include <cstrike> 
#include <fun> 
#include <amxmisc>  
#include <hamsandwich> 

#pragma tabsize 0

#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 
            } 
            case CS_TEAM_CT: 
            { 
                strip_user_weapons(id) 
                give_item(id, "weapon_deagle") 
                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_knife") 
                new menu = menu_create("XX", "menu_handler");  
                
                menu_additem(menu, "M4A1", "1", 0);  
                menu_additem(menu, "AK47", "2", 0);  
                menu_additem(menu, "M3", "3", 0);
	       menu_additem(menu, "Aug", "4", 0);
	       menu_additem(menu, "Famas", "5", 0);
                menu_additem(menu, "MP5 Navy", "6", 0);  
                menu_additem(menu, "XM1014", "7", 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_m4a1")  
            
            cs_set_user_bpammo(id,CSW_M4A1,90)    
            
        }  
        case 2:  
        {  
            give_item(id, "weapon_ak47")  
            
            cs_set_user_bpammo(id,CSW_AK47,90)    
            
        }  
	case 3:   
        {  
            
            give_item(id, "weapon_m3")  
            
            cs_set_user_bpammo(id,CSW_M3,32)    
            
        }  
	case 4:   
        {  
            
            give_item(id, "weapon_aug")  
            
            cs_set_user_bpammo(id,CSW_AUG,90)    
            
        }  
	case 5:   
        {  
            
            give_item(id, "weapon_famas")  
            
            cs_set_user_bpammo(id,CSW_FAMAS,90)    
            
        }  
	
        case 6:   
        {  
            give_item(id, "weapon_mp5navy")  
            
            cs_set_user_bpammo(id,CSW_MP5NAVY,120)    
            
        }  
        case 7:   
        {  
            give_item(id, "weapon_xm1014")  
            
            cs_set_user_bpammo(id,CSW_XM1014,32)    
            
        }  
    }  
    
    
    
    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 }
*/
P.S.: Netestat = Nu am avut timp să mă uit atent peste cod. Deci ceea ce am scris este posibil să fie greşit sau să aibă erori.

If i helped you and you wanna thank me, you can donate at this link : here
This will motivate me to help you in the future.
[If you want a private plugin send me a PM.(No complex plugins please, I am a student and I don't have the time to make those)]
User avatar
EuSemakka
Membru, skill +1
Membru, skill +1
Posts: 301
Joined: 26 Nov 2013, 17:40
Detinator Steam: Da
Detinator server CS: Furien.FaraLaG.Ro
Has thanked: 38 times
Been thanked: 7 times

26 Dec 2013, 18:04

Ms ai putea sa modifici la fiecare arma aleasa sa iti dea un deagle cu 200 si cv de gloante ?
User avatar
Truth*
Scripter eXtreamCS
Scripter eXtreamCS
Posts: 766
Joined: 11 Oct 2013, 10:08
Detinator Steam: Da
SteamID: Ezeru
Reputatie: Fost moderator ajutator
Membru Club eXtreamCS (4 luni)
Nume anterior: HyperioN.
Scripter eXtreamCS
0.2 / 3
Fond eXtream: 0
Location: Sibiu
Has thanked: 44 times
Been thanked: 122 times
Contact:

26 Dec 2013, 19:22

Poftim :
| Afiseaza codul
#include <amxmodx> 
#include <cstrike> 
#include <fun> 
#include <amxmisc>  
#include <hamsandwich> 

#pragma tabsize 0

#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 
            } 
            case CS_TEAM_CT: 
            { 
                strip_user_weapons(id) 
                give_item(id, "weapon_deagle") 
                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_knife") 
                new menu = menu_create("XX", "menu_handler");  
                
                menu_additem(menu, "M4A1", "1", 0);  
                menu_additem(menu, "AK47", "2", 0);  
                menu_additem(menu, "M3", "3", 0);
	       menu_additem(menu, "Aug", "4", 0);
	       menu_additem(menu, "Famas", "5", 0);
                menu_additem(menu, "MP5 Navy", "6", 0);  
                menu_additem(menu, "XM1014", "7", 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_m4a1")  
            give_item(id, "weapon_deagle")
	   cs_set_user_bpammo(id,CSW_DEAGLE,250)
            cs_set_user_bpammo(id,CSW_M4A1,90)    
            
        }  
        case 2:  
        {  
            give_item(id, "weapon_ak47")  
            give_item(id, "weapon_deagle")
	   cs_set_user_bpammo(id,CSW_DEAGLE,250)
            cs_set_user_bpammo(id,CSW_AK47,90)    
            
        }  
	case 3:   
        {  
            
            give_item(id, "weapon_m3")  
            give_item(id, "weapon_deagle")
	   cs_set_user_bpammo(id,CSW_DEAGLE,250)
            cs_set_user_bpammo(id,CSW_M3,32)    
            
        }  
	case 4:   
        {  
            
            give_item(id, "weapon_aug")  
            give_item(id, "weapon_deagle")
	   cs_set_user_bpammo(id,CSW_DEAGLE,250)
            cs_set_user_bpammo(id,CSW_AUG,90)    
            
        }  
	case 5:   
        {  
            
            give_item(id, "weapon_famas")  
            give_item(id, "weapon_deagle")
	   cs_set_user_bpammo(id,CSW_DEAGLE,250)
            cs_set_user_bpammo(id,CSW_FAMAS,90)    
            
        }  
	
        case 6:   
        {  
            give_item(id, "weapon_mp5navy")  
            give_item(id, "weapon_deagle")
	   cs_set_user_bpammo(id,CSW_DEAGLE,250)
            cs_set_user_bpammo(id,CSW_MP5NAVY,120)    
            
        }  
        case 7:   
        {  
            give_item(id, "weapon_xm1014")  
            give_item(id, "weapon_deagle")
	   cs_set_user_bpammo(id,CSW_DEAGLE,250)
            cs_set_user_bpammo(id,CSW_XM1014,32)    
            
        }  
    }  
    
    
    
    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 }
*/
P.S.: Netestat = Nu am avut timp să mă uit atent peste cod. Deci ceea ce am scris este posibil să fie greşit sau să aibă erori.

If i helped you and you wanna thank me, you can donate at this link : here
This will motivate me to help you in the future.
[If you want a private plugin send me a PM.(No complex plugins please, I am a student and I don't have the time to make those)]
User avatar
EuSemakka
Membru, skill +1
Membru, skill +1
Posts: 301
Joined: 26 Nov 2013, 17:40
Detinator Steam: Da
Detinator server CS: Furien.FaraLaG.Ro
Has thanked: 38 times
Been thanked: 7 times

27 Dec 2013, 11:12

Ms :D T/C
Post Reply

Return to “Cereri”

  • Information