Kullanıcı Tag Listesi

4 sonuçtan 1 ile 4 arası
  1. #1
    cavus er
    Üyelik tarihi
    Nov 2012
    Mesajlar
    151
    Bahsedildi
    0 Mesaj
    Etiketlenmiş
    0 Konu
    Tecrübe Puanı
    12

    Standart amx_kod nick e amx_kod @T @CT @all ekleme

    PHP- Kodu:
    /* Plugin generated by ds811888 */

    #include <amxmodx>
    #include <amxmisc>
    #include <cstrike>
    #include <fun>

    #define PLUGIN "Counter-Strike Impulse 101"  
    #define VERSION "1.1"  
    #define AUTHOR "ds811888"  

    new cvar_enabledcvar_buycost

    public plugin_init()
    {
        
    register_plugin(PLUGINVERSIONAUTHOR)

        
    /* Commands */
        
    register_clcmd("say /buy_impulse101""cmd_buyimpulse")
        
    register_clcmd("say buy_impulse101""cmd_buyimpulse")

        
    /* Admin Commands */
        
    register_concmd("amx_giveimpulse""cmd_giveimpulse"ADMIN_BAN"<name>")

        
    /* Cvars */
        
    cvar_enabled         register_cvar("amx_buyimpulse",         "1")
        
    cvar_buycost         register_cvar("amx_impulse_cost",     "16000")

        
    /* Language */
        
    register_dictionary("cs_impulse101.txt")
    }

    /* Admin Commands: amx_giveimpulse */
    public cmd_giveimpulse(id,level,cid)
    {
        
    /* Check user admin */
        
    if (!cmd_access(id,level,cid,2))
            return 
    PLUGIN_HANDLED;

        new 
    arg[32];
        
    read_argv(1,arg,31);
        
        new 
    player cmd_target(id,arg,7);
        if (!
    player
            return 
    PLUGIN_HANDLED;
        
        new 
    name[32];
        
    get_user_name(player,name,31);

            
    /* Check user alive */
            
    if(!is_user_alive(player))
                return 
    PLUGIN_HANDLED  

        
    /* Give user full weapons, full ammo, and full items */
        
    give_full_weapons(player)
        
    give_full_ammo(player)
        
    give_full_items(player)  
        
        return 
    PLUGIN_HANDLED
    }

    /* Commands: impulse 101 */
    public cmd_buyimpulse(id)
    {    
        if(
    get_pcvar_num(cvar_enabled))
        {
            new 
    money cs_get_user_money(id
            new 
    price get_pcvar_num(cvar_buycost)

            
    /* Check user alive */
            
    if(!is_user_alive(id))
                return 
    PLUGIN_HANDLED

            
    /* Check user money */
            
    if(money <= price)
            {
                
    client_print(idprint_center"[AMXX] %L"LANG_PLAYER"NOT_ENOUGH_MONEY" price)
            }
            else
            {
                
    /* -user money to buy a Impulse 101 */
                
    cs_set_user_money(idmoney price

                
    /* Client Print */
                
    client_print(idprint_center"[AMXX] %L"LANG_PLAYER"BOUGHT_IMPULSE")

            
    /* Give user full weapons, full ammo, and full items */
            
    give_full_weapons(id)
            
    give_full_ammo(id)
            
    give_full_items(id)
            }
        }
        return 
    PLUGIN_HANDLED
    }

    stock give_full_weapons(id)
    {
        
    /* Give all weapons */
        
    give_item(id,"weapon_usp")
        
    give_item(id,"weapon_glock18")
        
    give_item(id,"weapon_deagle")
        
    give_item(id,"weapon_p228")
        
    give_item(id,"weapon_elite")
        
    give_item(id,"weapon_fiveseven")
        
    give_item(id,"weapon_m3")
        
    give_item(id,"weapon_xm1014")
        
    give_item(id,"weapon_mp5navy")
        
    give_item(id,"weapon_tmp")
        
    give_item(id,"weapon_p90")
        
    give_item(id,"weapon_mac10")
        
    give_item(id,"weapon_ump45")
        
    give_item(id,"weapon_famas")
        
    give_item(id,"weapon_sg552")
        
    give_item(id,"weapon_ak47")
        
    give_item(id,"weapon_m4a1")
        
    give_item(id,"weapon_aug")
        
    give_item(id,"weapon_scout")
        
    give_item(id,"weapon_awp")
        
    give_item(id,"weapon_g3sg1")
        
    give_item(id,"weapon_sg550")
        
    give_item(id,"weapon_galil")
        
    give_item(id,"weapon_m249")
    }

    stock give_full_ammo(id)
    {
        
    /* Give full ammo */
        
    cs_set_user_bpammo(idCSW_P22852)        // ammo_357sig
        
    cs_set_user_bpammo(idCSW_SCOUT90)        // ammo_762nato
        
    cs_set_user_bpammo(idCSW_XM101432)        // ammo_buckshot
        
    cs_set_user_bpammo(idCSW_MAC10100)        // ammo_45acp
        
    cs_set_user_bpammo(idCSW_AUG90)        // ammo_556nato
        
    cs_set_user_bpammo(idCSW_ELITE120)        // ammo_9mm
        
    cs_set_user_bpammo(idCSW_FIVESEVEN100)    // ammo_57mm
        
    cs_set_user_bpammo(idCSW_AWP30)        // ammo_338magnum
        
    cs_set_user_bpammo(idCSW_M249200)        // ammo_556natobox
        
    cs_set_user_bpammo(idCSW_DEAGLE35)        // ammo_50ae
    }

    stock give_full_items(id)
    {
        
    /* Give all items */
        
    cs_set_user_armor(id100CS_ARMOR_VESTHELM)

        
    give_item(id,"weapon_flashbang")
        
    cs_set_user_bpammo(idCSW_FLASHBANG2)
        
    give_item(id,"weapon_hegrenade")
        
    give_item(id,"weapon_smokegrenade")

        
    cs_set_user_nvg(id1
        
    give_item(id,"weapon_shield")

        
    /* if team terrorist */
        
    if(cs_get_user_team(id) == CS_TEAM_T)
        { 
                   
    give_item(id"weapon_c4")
                   
    cs_set_user_plant(id11)
        } else 
        { 
        
    /* if team ct */
                   
    cs_set_user_defuse(id1)
        } 

    Bu plugin sadece amx_giveimpulse nick şeklinde çalışıyor
    Buna amx_giveimpulse @CT @T @all eklemek mümkünmüdür ?

  2. #2
    Nemesis* coadmin akcaliberkk - ait Kullanıcı Resmi (Avatar)
    Üyelik tarihi
    Jun 2012
    Yer
    İstanbul
    Mesajlar
    2.027
    Bahsedildi
    105 Mesaj
    Etiketlenmiş
    10 Konu
    Tecrübe Puanı
    10

    Standart Cevap: amx_kod nick e amx_kod @T @CT @all ekleme

    PHP- Kodu:
    /* Plugin generated by ds811888 */ 

    #include <amxmodx> 
    #include <amxmisc> 
    #include <cstrike> 
    #include <fun> 

    #define PLUGIN "Counter-Strike Impulse 101"   
    #define VERSION "1.1"   
    #define AUTHOR "ds811888"   

    new cvar_enabledcvar_buycost 

    public plugin_init() 

        
    register_plugin(PLUGINVERSIONAUTHOR
        
        
    /* Commands */ 
        
    register_clcmd("say /buy_impulse101""cmd_buyimpulse"
        
    register_clcmd("say buy_impulse101""cmd_buyimpulse"
        
        
    /* Admin Commands */ 
        
    register_concmd("amx_giveimpulse""cmd_giveimpulse"ADMIN_BAN"<name>"
        
        
    /* Cvars */ 
        
    cvar_enabled         register_cvar("amx_buyimpulse",         "1"
        
    cvar_buycost         register_cvar("amx_impulse_cost",     "16000"
        
        
    /* Language */ 
        
    register_dictionary("cs_impulse101.txt"


    /* Admin Commands: amx_giveimpulse */ 
    public cmd_giveimpulse(id,level,cid

        
    /* Check user admin */ 
        
    if (!cmd_access(id,level,cid,2)) 
            return 
    PLUGIN_HANDLED
        
        new 
    arg[32]; 
        
    read_argv(1,arg,31); 
        
        if(
    arg[0] == '@') {
            new 
    players[32],inum;
            new 
    tempid;
            if(
    equali(arg[1],"T")) copy(arg[1],31,"TERRORIST")
            if(
    equali(arg[1],"all")) get_players(players,inum)
            else 
    get_players(players,inum,"ae",arg[1])
            
            if(!
    inum) {
                
    console_print(id,"Takimda Oyuncu Bulunamadi.")
                return 
    PLUGIN_HANDLED
            
    }
            for(new 
    i;i<inum;i++) {
                
    tempid players[i];
                
    give_full_weapons(tempid
                
    give_full_ammo(tempid
                
    give_full_items(tempid)  
            }
        }
        else {
            new 
    player cmd_target(id,arg,7); 
            if (!
    player)  
                return 
    PLUGIN_HANDLED
            
            
    /* Check user alive */ 
            
    if(!is_user_alive(player)) 
                return 
    PLUGIN_HANDLED   
            
            
    /* Give user full weapons, full ammo, and full items */ 
            
    give_full_weapons(player
            
    give_full_ammo(player
            
    give_full_items(player)
        }
        return 
    PLUGIN_HANDLED 


    /* Commands: impulse 101 */ 
    public cmd_buyimpulse(id
    {     
        if(
    get_pcvar_num(cvar_enabled)) 
        { 
            new 
    money cs_get_user_money(id)  
            new 
    price get_pcvar_num(cvar_buycost
            
            
    /* Check user alive */ 
            
    if(!is_user_alive(id)) 
                return 
    PLUGIN_HANDLED 
            
            
    /* Check user money */ 
            
    if(money <= price
            { 
                
    client_print(idprint_center"[AMXX] %L"LANG_PLAYER"NOT_ENOUGH_MONEY" price
            } 
            else 
            { 
                
    /* -user money to buy a Impulse 101 */ 
                
    cs_set_user_money(idmoney price)  
                
                
    /* Client Print */ 
                
    client_print(idprint_center"[AMXX] %L"LANG_PLAYER"BOUGHT_IMPULSE"
                
                
    /* Give user full weapons, full ammo, and full items */ 
                
    give_full_weapons(id
                
    give_full_ammo(id
                
    give_full_items(id
            } 
        } 
        return 
    PLUGIN_HANDLED 


    stock give_full_weapons(id

        
    /* Give all weapons */ 
        
    give_item(id,"weapon_usp"
        
    give_item(id,"weapon_glock18"
        
    give_item(id,"weapon_deagle"
        
    give_item(id,"weapon_p228"
        
    give_item(id,"weapon_elite"
        
    give_item(id,"weapon_fiveseven"
        
    give_item(id,"weapon_m3"
        
    give_item(id,"weapon_xm1014"
        
    give_item(id,"weapon_mp5navy"
        
    give_item(id,"weapon_tmp"
        
    give_item(id,"weapon_p90"
        
    give_item(id,"weapon_mac10"
        
    give_item(id,"weapon_ump45"
        
    give_item(id,"weapon_famas"
        
    give_item(id,"weapon_sg552"
        
    give_item(id,"weapon_ak47"
        
    give_item(id,"weapon_m4a1"
        
    give_item(id,"weapon_aug"
        
    give_item(id,"weapon_scout"
        
    give_item(id,"weapon_awp"
        
    give_item(id,"weapon_g3sg1"
        
    give_item(id,"weapon_sg550"
        
    give_item(id,"weapon_galil"
        
    give_item(id,"weapon_m249"


    stock give_full_ammo(id

        
    /* Give full ammo */ 
        
    cs_set_user_bpammo(idCSW_P22852)        // ammo_357sig 
        
    cs_set_user_bpammo(idCSW_SCOUT90)        // ammo_762nato 
        
    cs_set_user_bpammo(idCSW_XM101432)        // ammo_buckshot 
        
    cs_set_user_bpammo(idCSW_MAC10100)        // ammo_45acp 
        
    cs_set_user_bpammo(idCSW_AUG90)        // ammo_556nato 
        
    cs_set_user_bpammo(idCSW_ELITE120)        // ammo_9mm 
        
    cs_set_user_bpammo(idCSW_FIVESEVEN100)    // ammo_57mm 
        
    cs_set_user_bpammo(idCSW_AWP30)        // ammo_338magnum 
        
    cs_set_user_bpammo(idCSW_M249200)        // ammo_556natobox 
        
    cs_set_user_bpammo(idCSW_DEAGLE35)        // ammo_50ae 


    stock give_full_items(id

        
    /* Give all items */ 
        
    cs_set_user_armor(id100CS_ARMOR_VESTHELM
        
        
    give_item(id,"weapon_flashbang"
        
    cs_set_user_bpammo(idCSW_FLASHBANG2
        
    give_item(id,"weapon_hegrenade"
        
    give_item(id,"weapon_smokegrenade"
        
        
    cs_set_user_nvg(id1)  
        
    give_item(id,"weapon_shield"
        
        
    /* if team terrorist */ 
        
    if(cs_get_user_team(id) == CS_TEAM_T
        {  
            
    give_item(id"weapon_c4"
            
    cs_set_user_plant(id11
        } 
        else  
        {  
            
    /* if team ct */ 
            
    cs_set_user_defuse(id1
        }  


    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.



    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


    CS:GO ve CS 1.6 için ücretli eklenti yapılır.
    Plugin yazmak isteyenlere yardımcı olabilirim.
    Skype adresimden ulaşabilirsiniz:
    destek_596
    Steam: http://steamcommunity.com/id/ca-nemesis/


  3. #3
    cavus er
    Üyelik tarihi
    Nov 2012
    Mesajlar
    151
    Bahsedildi
    0 Mesaj
    Etiketlenmiş
    0 Konu
    Tecrübe Puanı
    12

    Standart Cevap: amx_kod nick e amx_kod @T @CT @all ekleme

    Sağol oldu konu kapanabilir

  4. #4
    Nemesis* coadmin akcaliberkk - ait Kullanıcı Resmi (Avatar)
    Üyelik tarihi
    Jun 2012
    Yer
    İstanbul
    Mesajlar
    2.027
    Bahsedildi
    105 Mesaj
    Etiketlenmiş
    10 Konu
    Tecrübe Puanı
    10

    Standart Cevap: amx_kod nick e amx_kod @T @CT @all ekleme

    Çözülmüş İsteklere taşındı.

    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.



    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


    CS:GO ve CS 1.6 için ücretli eklenti yapılır.
    Plugin yazmak isteyenlere yardımcı olabilirim.
    Skype adresimden ulaşabilirsiniz:
    destek_596
    Steam: http://steamcommunity.com/id/ca-nemesis/


Benzer Konular

  1. Cevaplar: 227
    Son Mesaj: 25-06-18, 01:21
  2. Cevaplar: 10
    Son Mesaj: 21-07-12, 02:54
  3. Nick Gösterimi
    By antidote in forum Çözülmüş İstekler
    Cevaplar: 1
    Son Mesaj: 22-01-12, 21:50

Kullanıcıların arama motorlarındaki kullandığı taglar:

cs slay @ct

amx_kod

Counter Strike

Bu Konudaki Etiketler

Yetkileriniz

  • Konu Acma Yetkiniz Yok
  • Cevap Yazma Yetkiniz Yok
  • Eklenti Yükleme Yetkiniz Yok
  • Mesajınızı Değiştirme Yetkiniz Yok
  •  

SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94