Reklam gösterimini engelleyici yazılım kullandığınızı görüyoruz.
Sitemizin ayakta kalıp sizlere hizmet edebilmek için en büyük gelir kaynağı sayfamızda gösterilen reklamlardır.
Reklam gösterimde bizim sayfamıza ayrıcalık tanıyarak ayakta kalmamıza destek olmak ister misiniz ?

Destek   | Bıçak Menu

Konu

#11
Model dizinini kendine göre editle

PHP Kod:
/* Plugin generated by AMXX-Studio */

#include < amxmodx >
#include < amxmisc >
#include < fakemeta >
#include < hamsandwich >
#include < fun >

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"

new const BICAK1[] = "models/AsiimowKelebek.mdl";
new const 
BICAK2[] = "models/CizgiliKarambit.mdl";
new const 
BICAK3[] = "models/Falchion.mdl";
new const 
BICAK4[] = "models/KancaliBicak.mdl";
new const 
BICAK5[] = "models/KirmiziKelebek.mdl";
new const 
BICAK6[] = "models/KirmiziBayonet.mdl";
new const 
BICAK7[] = "models/KirmiziKarambit.mdl";
new const 
BICAK8[] = "models/SariBayonet.mdl";

new 
g_bicak1g_bicak2g_bicak3g_bicak4,
g_bicak5g_bicak6g_bicak7g_bicak8;

public 
plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_clcmd"say /bicakmenu""bicaklar" );
    
register_clcmd"say /bicakmenu""bicaklar" );
    
    
RegisterHam(Ham_Spawn,         "player""Fwd_PlayerSpawn_Post",    1);
    
register_event("CurWeapon",     "Event_Change_Weapon""be""1=1")
}
public 
Fwd_PlayerSpawn_Postid )
{
    if( 
is_user_aliveid ) )
    {
        
bicaklarid );
    }
}

public 
Event_Change_Weaponid )
{
    new 
weaponID read_data);
    
    if( 
weaponID == CSW_KNIFE )
    {
        if( 
g_bicak1 & ( << id ) )
        {
            
set_pevidpev_viewmodel2BICAK1 );
        }
        if( 
g_bicak2 & ( << id ) )
        {
            
set_pevidpev_viewmodel2BICAK2 );
        }
        if( 
g_bicak3 & ( << id ) )
        {
            
set_pevidpev_viewmodel2BICAK3 );
        }
        if( 
g_bicak4 & ( << id ) )
        {
            
set_pevidpev_viewmodel2BICAK4 );
        }
        if( 
g_bicak5 & ( << id ) )
        {
            
set_pevidpev_viewmodel2BICAK5 );
        }
        if( 
g_bicak6 & ( << id ) )
        {
            
set_pevidpev_viewmodel2BICAK6 );
        }
        if( 
g_bicak7 & ( << id ) )
        {
            
set_pevidpev_viewmodel2BICAK7 );
        }
        if( 
g_bicak8 & ( << id ) )
        {
            
set_pevidpev_viewmodel2BICAK8 );
        }
        
    }
}
public 
bicaklarid )
{
    if( 
is_user_aliveid ) )
    {
        new 
menu menu_create"\rBicak Menu""bicak_ver" );
        
        
menu_additemmenu"\yAsimov Kelebek""1" );
        
menu_additemmenu"\yCizgili Karambit""2" );
        
menu_additemmenu"\yFalcion""3" );
        
menu_additemmenu"\yKancali Bicak""4" );
        
menu_additemmenu"\yKirmizi Kelebek""5" );
        
menu_additemmenu"\yKirmizi Bayonet""6" );
        
menu_additemmenu"\yKirmizi Karambit""7" );
        
menu_additemmenu"\ySari Bayonet""8" );
        
        
menu_setpropmenuMPROP_EXITMEXIT_ALL );
        
menu_displayidmenu);
    }
    return 
PLUGIN_HANDLED;
}
public 
bicak_veridmenuitem )
{
    if(
item == MENU_EXIT)
    {
        
menu_destroy(menu)
        return 
PLUGIN_HANDLED
    
}
    new 
access,callback,data[6],iname[64]
    
menu_item_getinfo(menu,item,access,data,5,iname,63,callback)
    
    new 
key str_to_num(data)
    
    switch(
key)
    {
        case 
:
        {
            if( 
is_user_aliveid ) )
            {
                
g_bicak1 |= ( << id );
                
g_bicak2 &= ~( << id );
                
g_bicak3 &= ~( << id );
                
g_bicak4 &= ~( << id );
                
g_bicak5 &= ~( << id );
                
g_bicak6 &= ~( << id );
                
g_bicak7 &= ~( << id );
                
g_bicak8 &= ~( << id );
                
ham_strip_weaponid"weapon_knife" );
                
give_itemid"weapon_knife" );
                
renkli_yaziid ,"!n[ !tBicakMenu !n] !gAsimow Kelebek bicagini aldin" );
            }
        }
        case 
:
        {
            if( 
is_user_aliveid ) )
            {
                
g_bicak1 &= ~( << id );
                
g_bicak2 |= ( << id );
                
g_bicak3 &= ~( << id );
                
g_bicak4 &= ~( << id );
                
g_bicak5 &= ~( << id );
                
g_bicak6 &= ~( << id );
                
g_bicak7 &= ~( << id );
                
g_bicak8 &= ~( << id );
                
ham_strip_weaponid"weapon_knife" );
                
give_itemid"weapon_knife" );
                
renkli_yaziid ,"!n[ !tBicakMenu !n] !gCizgili Karambit bicagini aldin" );
            }
        }
        case 
:
        {
            if( 
is_user_aliveid ) )
            {
                
g_bicak1 &= ~( << id );
                
g_bicak2 &= ~( << id );
                
g_bicak3 |= ( << id );
                
g_bicak4 &= ~( << id );
                
g_bicak5 &= ~( << id );
                
g_bicak6 &= ~( << id );
                
g_bicak7 &= ~( << id );
                
g_bicak8 &= ~( << id );
                
ham_strip_weaponid"weapon_knife" );
                
give_itemid"weapon_knife" );
                
renkli_yaziid ,"!n[ !tBicakMenu !n] !gFalcion bicagini aldin" );
            }
        }
        case 
:
        {
            if( 
is_user_aliveid ) )
            {
                
g_bicak1 &= ~( << id );
                
g_bicak2 &= ~( << id );
                
g_bicak3 &= ~( << id );
                
g_bicak4 |= ( << id );
                
g_bicak5 &= ~( << id );
                
g_bicak6 &= ~( << id );
                
g_bicak7 &= ~( << id );
                
g_bicak8 &= ~( << id );
                
ham_strip_weaponid"weapon_knife" );
                
give_itemid"weapon_knife" );
                
renkli_yaziid ,"!n[ !tBicakMenu !n] !gKancali bicagini aldin" );
            }
        }
        case 
:
        {
            if( 
is_user_aliveid ) )
            {
                
g_bicak1 &= ~( << id );
                
g_bicak2 &= ~( << id );
                
g_bicak3 &= ~( << id );
                
g_bicak4 &= ~( << id );
                
g_bicak5 |= ( << id );
                
g_bicak6 &= ~( << id );
                
g_bicak7 &= ~( << id );
                
g_bicak8 &= ~( << id );
                
ham_strip_weaponid"weapon_knife" );
                
give_itemid"weapon_knife" );
                
renkli_yaziid ,"!n[ !tBicakMenu !n] !gKirmizi Kelebek bicagini aldin" );
            }
        }
        case 
:
        {
            if( 
is_user_aliveid ) )
            {
                
g_bicak1 &= ~( << id );
                
g_bicak2 &= ~( << id );
                
g_bicak3 &= ~( << id );
                
g_bicak4 &= ~( << id );
                
g_bicak5 &= ~( << id );
                
g_bicak6 |= ( << id );
                
g_bicak7 &= ~( << id );
                
g_bicak8 &= ~( << id );
                
ham_strip_weaponid"weapon_knife" );
                
give_itemid"weapon_knife" );
                
renkli_yaziid ,"!n[ !tBicakMenu !n] !gKirmizi Bayonet bicagini aldin" );
            }
        }
        case 
:
        {
            if( 
is_user_aliveid ) )
            {
                
g_bicak1 &= ~( << id );
                
g_bicak2 &= ~( << id );
                
g_bicak3 &= ~( << id );
                
g_bicak4 &= ~( << id );
                
g_bicak5 &= ~( << id );
                
g_bicak6 &= ~( << id );
                
g_bicak7 |= ( << id );
                
g_bicak8 &= ~( << id );
                
ham_strip_weaponid"weapon_knife" );
                
give_itemid"weapon_knife" );
                
renkli_yaziid ,"!n[ !tBicakMenu !n] !gKirmizi Karambit bicagini aldin" );
            }
        }
        case 
:
        {
            if( 
is_user_aliveid ) )
            {
                
g_bicak1 &= ~( << id );
                
g_bicak2 &= ~( << id );
                
g_bicak3 &= ~( << id );
                
g_bicak4 &= ~( << id );
                
g_bicak5 &= ~( << id );
                
g_bicak6 &= ~( << id );
                
g_bicak7 &= ~( << id );
                
g_bicak8 |= ( << id );
                
ham_strip_weaponid"weapon_knife" );
                
give_itemid"weapon_knife" );
                
renkli_yaziid ,"!n[ !tBicakMenu !n] !gSari Bayonet bicagini aldin" );
            }
        }
    }
    
menu_destroymenu );
    return 
PLUGIN_HANDLED;
}        
public 
plugin_precache( )
{
    
precache_modelBICAK1 );
    
precache_modelBICAK2 );
    
precache_modelBICAK3 );
    
precache_modelBICAK4 );
    
precache_modelBICAK5 );
    
precache_modelBICAK6 );
    
precache_modelBICAK7 );
    
precache_modelBICAK8 );
}
stock ham_strip_weapon(id,weapon[])
{
    if(!
equal(weapon,"weapon_",7)) return 0;
    
    new 
wId get_weaponid(weapon);
    if(!
wId) return 0;
    
    new 
wEnt;
    while((
wEnt engfunc(EngFunc_FindEntityByString,wEnt,"classname",weapon)) && pev(wEnt,pev_owner) != id) {}
    if(!
wEnt) return 0;
    
    if(
get_user_weapon(id) == wIdExecuteHamB(Ham_Weapon_RetireWeapon,wEnt);
    
    if(!
ExecuteHamB(Ham_RemovePlayerItem,id,wEnt)) return 0;
    
ExecuteHamB(Ham_Item_Kill,wEnt);
    
    
set_pev(id,pev_weapons,pev(id,pev_weapons) & ~(1<<wId));
    
    return 
1;
 

stock renkli_yazi
(const id, const input[], any:...)
{
    new 
count 1players[32];
    static 
msg[191];
    
vformat(msg190input3);
    
    
replace_all(msg190"!n""^x01"); // Default Renk(Sarı)
    
replace_all(msg190"!g""^x04"); // Yeşil Renk
    
replace_all(msg190"!t""^x03"); // Takım Renk( CT mavi , T kırmızı )
    
    
if (idplayers[0] = id; else get_players(playerscount"ch");
    {
        for (new 
0counti++)
        {
            if (
is_user_connected(players[i]))
            {
                
                
message_begin(MSG_ONE_UNRELIABLEget_user_msgid("SayText"), _players[i]);
                
write_byte(players[i]);
                
write_string(msg);
                
message_end();
            }

        }
    }




Sadece CS:GO ekletisi yapıyorum 1.6 plugin isteklerine bakmıyorum.

Serverinize özel go eklentisi için steam üzerinden iletişime geçin

Steam :   https://steamcommunity.com/id/cananil44

#12
@ Anıl Can Yeni Sistemden Gitmeye Başlamışsın Gülmekten Ölüyorum


                                                                                                                                            CoonquaR
                                                                                                                    https://www.facebook.com/CoonquaR
#13
@ Anıl Can eline sağlık konu çözülmüş isteklere taşınabilir.


#14
Çözülmüş isteklere taşındı.


Sadece CS:GO ekletisi yapıyorum 1.6 plugin isteklerine bakmıyorum.

Serverinize özel go eklentisi için steam üzerinden iletişime geçin

Steam :   https://steamcommunity.com/id/cananil44

#15
@ Anıl Can şimdi farkettimde 1 yerde hata var el başı açılıyor veya doğunca açılıyor o olmasın sadece saydan bicakmenu yazılınca açılsın


#16
PHP Kod:
/* Plugin generated by AMXX-Studio */

#include < amxmodx >
#include < amxmisc >
#include < fakemeta >
#include < fun >
#include < hamsandwich >

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"

new const BICAK1[] = "models/AsiimowKelebek.mdl";
new const 
BICAK2[] = "models/CizgiliKarambit.mdl";
new const 
BICAK3[] = "models/Falchion.mdl";
new const 
BICAK4[] = "models/KancaliBicak.mdl";
new const 
BICAK5[] = "models/KirmiziKelebek.mdl";
new const 
BICAK6[] = "models/KirmiziBayonet.mdl";
new const 
BICAK7[] = "models/KirmiziKarambit.mdl";
new const 
BICAK8[] = "models/SariBayonet.mdl";

new 
g_bicak1g_bicak2g_bicak3g_bicak4,
g_bicak5g_bicak6g_bicak7g_bicak8;

public 
plugin_init() {
 
   register_plugin(PLUGINVERSIONAUTHOR)
 
   
    register_clcmd
"say /bicakmenu""bicaklar" );
 
   register_clcmd"say /bicakmenu""bicaklar" );
 
   
    register_event
("CurWeapon"    "Event_Change_Weapon""be""1=1")
}

public 
Event_Change_Weaponid )
{
 
   new weaponID read_data);
 
   
    if
weaponID == CSW_KNIFE )
 
   {
 
       ifg_bicak1 & ( << id ) )
 
       {
 
           set_pevidpev_viewmodel2BICAK1 );
 
       }
 
       ifg_bicak2 & ( << id ) )
 
       {
 
           set_pevidpev_viewmodel2BICAK2 );
 
       }
 
       ifg_bicak3 & ( << id ) )
 
       {
 
           set_pevidpev_viewmodel2BICAK3 );
 
       }
 
       ifg_bicak4 & ( << id ) )
 
       {
 
           set_pevidpev_viewmodel2BICAK4 );
 
       }
 
       ifg_bicak5 & ( << id ) )
 
       {
 
           set_pevidpev_viewmodel2BICAK5 );
 
       }
 
       ifg_bicak6 & ( << id ) )
 
       {
 
           set_pevidpev_viewmodel2BICAK6 );
 
       }
 
       ifg_bicak7 & ( << id ) )
 
       {
 
           set_pevidpev_viewmodel2BICAK7 );
 
       }
 
       ifg_bicak8 & ( << id ) )
 
       {
 
           set_pevidpev_viewmodel2BICAK8 );
 
       }
 
       
    
}
}
public 
bicaklarid )
{
 
   ifis_user_aliveid ) )
 
   {
 
       new menu menu_create"\rBicak Menu""bicak_ver" );
 
       
        menu_additem
menu"\yAsimov Kelebek""1" );
 
       menu_additemmenu"\yCizgili Karambit""2" );
 
       menu_additemmenu"\yFalcion""3" );
 
       menu_additemmenu"\yKancali Bicak""4" );
 
       menu_additemmenu"\yKirmizi Kelebek""5" );
 
       menu_additemmenu"\yKirmizi Bayonet""6" );
 
       menu_additemmenu"\yKirmizi Karambit""7" );
 
       menu_additemmenu"\ySari Bayonet""8" );
 
       
        menu_setprop
menuMPROP_EXITMEXIT_ALL );
 
       menu_displayidmenu);
 
   }
 
   return PLUGIN_HANDLED;
}
public 
bicak_veridmenuitem )
{
 
   if(item == MENU_EXIT)
 
   {
 
       menu_destroy(menu)
 
       return PLUGIN_HANDLED
    
}
 
   new access,callback,data[6],iname[64]
 
   menu_item_getinfo(menu,item,access,data,5,iname,63,callback)
 
   
    new key 
str_to_num(data)
 
   
    switch
(key)
 
   {
 
       case 1 :
 
       {
 
           ifis_user_aliveid ) )
 
           {
 
               g_bicak1 |= ( << id );
 
               g_bicak2 &= ~( << id );
 
               g_bicak3 &= ~( << id );
 
               g_bicak4 &= ~( << id );
 
               g_bicak5 &= ~( << id );
 
               g_bicak6 &= ~( << id );
 
               g_bicak7 &= ~( << id );
 
               g_bicak8 &= ~( << id );
 
               ham_strip_weaponid"weapon_knife" );
 
               give_itemid"weapon_knife" );
 
               renkli_yaziid ,"!n[ !tBicakMenu !n] !gAsimow Kelebek bicagini aldin" );
 
           }
 
       }
 
       case 2 :
 
       {
 
           ifis_user_aliveid ) )
 
           {
 
               g_bicak1 &= ~( << id );
 
               g_bicak2 |= ( << id );
 
               g_bicak3 &= ~( << id );
 
               g_bicak4 &= ~( << id );
 
               g_bicak5 &= ~( << id );
 
               g_bicak6 &= ~( << id );
 
               g_bicak7 &= ~( << id );
 
               g_bicak8 &= ~( << id );
 
               ham_strip_weaponid"weapon_knife" );
 
               give_itemid"weapon_knife" );
 
               renkli_yaziid ,"!n[ !tBicakMenu !n] !gCizgili Karambit bicagini aldin" );
 
           }
 
       }
 
       case 3 :
 
       {
 
           ifis_user_aliveid ) )
 
           {
 
               g_bicak1 &= ~( << id );
 
               g_bicak2 &= ~( << id );
 
               g_bicak3 |= ( << id );
 
               g_bicak4 &= ~( << id );
 
               g_bicak5 &= ~( << id );
 
               g_bicak6 &= ~( << id );
 
               g_bicak7 &= ~( << id );
 
               g_bicak8 &= ~( << id );
 
               ham_strip_weaponid"weapon_knife" );
 
               give_itemid"weapon_knife" );
 
               renkli_yaziid ,"!n[ !tBicakMenu !n] !gFalcion bicagini aldin" );
 
           }
 
       }
 
       case 4 :
 
       {
 
           ifis_user_aliveid ) )
 
           {
 
               g_bicak1 &= ~( << id );
 
               g_bicak2 &= ~( << id );
 
               g_bicak3 &= ~( << id );
 
               g_bicak4 |= ( << id );
 
               g_bicak5 &= ~( << id );
 
               g_bicak6 &= ~( << id );
 
               g_bicak7 &= ~( << id );
 
               g_bicak8 &= ~( << id );
 
               ham_strip_weaponid"weapon_knife" );
 
               give_itemid"weapon_knife" );
 
               renkli_yaziid ,"!n[ !tBicakMenu !n] !gKancali bicagini aldin" );
 
           }
 
       }
 
       case 5 :
 
       {
 
           ifis_user_aliveid ) )
 
           {
 
               g_bicak1 &= ~( << id );
 
               g_bicak2 &= ~( << id );
 
               g_bicak3 &= ~( << id );
 
               g_bicak4 &= ~( << id );
 
               g_bicak5 |= ( << id );
 
               g_bicak6 &= ~( << id );
 
               g_bicak7 &= ~( << id );
 
               g_bicak8 &= ~( << id );
 
               ham_strip_weaponid"weapon_knife" );
 
               give_itemid"weapon_knife" );
 
               renkli_yaziid ,"!n[ !tBicakMenu !n] !gKirmizi Kelebek bicagini aldin" );
 
           }
 
       }
 
       case 6 :
 
       {
 
           ifis_user_aliveid ) )
 
           {
 
               g_bicak1 &= ~( << id );
 
               g_bicak2 &= ~( << id );
 
               g_bicak3 &= ~( << id );
 
               g_bicak4 &= ~( << id );
 
               g_bicak5 &= ~( << id );
 
               g_bicak6 |= ( << id );
 
               g_bicak7 &= ~( << id );
 
               g_bicak8 &= ~( << id );
 
               ham_strip_weaponid"weapon_knife" );
 
               give_itemid"weapon_knife" );
 
               renkli_yaziid ,"!n[ !tBicakMenu !n] !gKirmizi Bayonet bicagini aldin" );
 
           }
 
       }
 
       case 7 :
 
       {
 
           ifis_user_aliveid ) )
 
           {
 
               g_bicak1 &= ~( << id );
 
               g_bicak2 &= ~( << id );
 
               g_bicak3 &= ~( << id );
 
               g_bicak4 &= ~( << id );
 
               g_bicak5 &= ~( << id );
 
               g_bicak6 &= ~( << id );
 
               g_bicak7 |= ( << id );
 
               g_bicak8 &= ~( << id );
 
               ham_strip_weaponid"weapon_knife" );
 
               give_itemid"weapon_knife" );
 
               renkli_yaziid ,"!n[ !tBicakMenu !n] !gKirmizi Karambit bicagini aldin" );
 
           }
 
       }
 
       case 8 :
 
       {
 
           ifis_user_aliveid ) )
 
           {
 
               g_bicak1 &= ~( << id );
 
               g_bicak2 &= ~( << id );
 
               g_bicak3 &= ~( << id );
 
               g_bicak4 &= ~( << id );
 
               g_bicak5 &= ~( << id );
 
               g_bicak6 &= ~( << id );
 
               g_bicak7 &= ~( << id );
 
               g_bicak8 |= ( << id );
 
               ham_strip_weaponid"weapon_knife" );
 
               give_itemid"weapon_knife" );
 
               renkli_yaziid ,"!n[ !tBicakMenu !n] !gSari Bayonet bicagini aldin" );
 
           }
 
       }
 
   }
 
   menu_destroymenu );
 
   return PLUGIN_HANDLED;
       
public plugin_precache( )
{
 
   precache_modelBICAK1 );
 
   precache_modelBICAK2 );
 
   precache_modelBICAK3 );
 
   precache_modelBICAK4 );
 
   precache_modelBICAK5 );
 
   precache_modelBICAK6 );
 
   precache_modelBICAK7 );
 
   precache_modelBICAK8 );
}
stock ham_strip_weapon(id,weapon[])
{
 
   if(!equal(weapon,"weapon_",7)) return 0;
 
   
    new wId 
get_weaponid(weapon);
 
   if(!wId) return 0;
 
   
    new wEnt
;
 
   while((wEnt engfunc(EngFunc_FindEntityByString,wEnt,"classname",weapon)) && pev(wEnt,pev_owner) != id) {}
 
   if(!wEnt) return 0;
 
   
    if
(get_user_weapon(id) == wIdExecuteHamB(Ham_Weapon_RetireWeapon,wEnt);
 
   
    if
(!ExecuteHamB(Ham_RemovePlayerItem,id,wEnt)) return 0;
 
   ExecuteHamB(Ham_Item_Kill,wEnt);
 
   
    set_pev
(id,pev_weapons,pev(id,pev_weapons) & ~(1<<wId));
 
   
    return 1
;
 

stock renkli_yazi
(const id, const input[], any:...)
{
 
   new count 1players[32];
 
   static msg[191];
 
   vformat(msg190input3);
 
   
    replace_all
(msg190"!n""^x01"); // Default Renk(Sarı)
 
   replace_all(msg190"!g""^x04"); // Yeşil Renk
 
   replace_all(msg190"!t""^x03"); // Takım Renk( CT mavi , T kırmızı )
 
   
    if 
(idplayers[0] = id; else get_players(playerscount"ch");
 
   {
 
       for (new 0counti++)
 
       {
 
           if (is_user_connected(players[i]))
 
           {
 
               
                message_begin
(MSG_ONE_UNRELIABLEget_user_msgid("SayText"), _players[i]);
 
               write_byte(players[i]);
 
               write_string(msg);
 
               message_end();
 
           }

 
       }
 
   }




Sadece CS:GO ekletisi yapıyorum 1.6 plugin isteklerine bakmıyorum.

Serverinize özel go eklentisi için steam üzerinden iletişime geçin

Steam :   https://steamcommunity.com/id/cananil44



Bir hesap oluşturun veya yorum yapmak için giriş yapın

Yorum yapmak için üye olmanız gerekiyor

ya da

Task