Kullanıcı Tag Listesi

2 sonuçtan 1 ile 2 arası

Threaded View

  1. #2
    binbaşı к4dανяα - ait Kullanıcı Resmi (Avatar)
    Üyelik tarihi
    Jun 2012
    Yer
    Hayat hattında acemi tayfalardık. Ne avunduk sevinç müsveddeleriyle; aşktan ikmale kaldık..
    Mesajlar
    618
    Bahsedildi
    0 Mesaj
    Etiketlenmiş
    0 Konu
    Tecrübe Puanı
    14

    Standart Cevap: Map başında ekrana renk gelmesi

    PHP- Kodu:
    #include <amxmodx>
    #include <amxmisc>
    #include <fun>

    #define PLUGIN "istek plugin"
    #define VERSION "1.0"
    #define AUTHOR "K4DavRa"


    #define FFADE_IN        0x0000        
    #define FFADE_OUT            0x0001        
    #define FFADE_MODULATE        0x0002        
    #define FFADE_STAYOUT        0x0004


    enum {
        
    Red,
        
    Green,
        
    Blue
    }

    new 
    bool:engel false

    public plugin_init() {
        
    register_plugin(PLUGINVERSIONAUTHOR)
        
    register_logevent("Event_Round_Start"2"1=Round_Start")
    }
    public 
    Event_Round_Start()
    {
        if(
    engel) {
            return 
    PLUGIN_HANDLED
        
    }
        for(new 
    id 1id 33id++) {
            if(
    is_user_connected(id) && is_user_alive(id)) {
                
    set_task(0.5,"Sec",id)
            }
        }
        
    engel true
        
    return PLUGIN_CONTINUE
    }

    public 
    Sec(id)
    {
        if(
    get_user_team(id) == 1) {
            
            
    UTIL_ScreenFade(id,{100,0,0},1.0,0.2,255,FFADE_IN,false,false//kirmizi
        
    }else { 
            
    UTIL_ScreenFade(id,{0,0,255},1.0,0.2,255,FFADE_IN,false,false)   //mavi
        
    }

    }

    stock UTIL_ScreenFade(id=0,iColor[3]={0,0,0},Float:flFxTime=-1.0,Float:flHoldTime=0.0,iAlpha=0,iFlags=FFADE_IN,bool:bReliable=false,bool:bExternal=false)
    {
        if( 
    id && !is_user_connected(id))
            return;
        
        new 
    iFadeTime;
        if( 
    flFxTime == -1.0 )
        {
            
    iFadeTime 4;
        }
        else
        {
            
    iFadeTime FixedUnsigned16flFxTime 1<<12 );
        }
        
        static 
    gmsgScreenFade;
        if( !
    gmsgScreenFade )
        {
            
    gmsgScreenFade get_user_msgid("ScreenFade");
        }
        
        new 
    MSG_DEST;
        if( 
    bReliable )
        {
            
    MSG_DEST id MSG_ONE MSG_ALL;
        }
        else
        {
            
    MSG_DEST id MSG_ONE_UNRELIABLE MSG_BROADCAST;
        }
        
        if( 
    bExternal )
        {
            
    emessage_beginMSG_DESTgmsgScreenFade_id );
            
    ewrite_shortiFadeTime );
            
    ewrite_shortFixedUnsigned16flHoldTime 1<<12 ) );
            
    ewrite_shortiFlags );
            
    ewrite_byteiColor[Red] );
            
    ewrite_byteiColor[Green] );
            
    ewrite_byteiColor[Blue] );
            
    ewrite_byteiAlpha );
            
    emessage_end();
        }
        else
        {
            
    message_beginMSG_DESTgmsgScreenFade_id );
            
    write_shortiFadeTime );
            
    write_shortFixedUnsigned16flHoldTime 1<<12 ) );
            
    write_shortiFlags );
            
    write_byteiColor[Red] );
            
    write_byteiColor[Green] );
            
    write_byteiColor[Blue] );
            
    write_byteiAlpha );
            
    message_end();
        }
    }

    stock FixedUnsigned16(Float:flValueiScale)
    {
        new 
    iOutput;
        
        
    iOutput floatround(flValue iScale);
        
        if ( 
    iOutput )
            
    iOutput 0;
        
        if ( 
    iOutput 0xFFFF )
            
    iOutput 0xFFFF;
        
        return 
    iOutput;

    Ekli Dosyalar Ekli Dosyalar

    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.



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






Benzer Konular

  1. Renk Renk Modeller
    By ard26tr in forum [MODEL] Cs 1.6 Skin Bölümü
    Cevaplar: 1
    Son Mesaj: 08-11-14, 01:06
  2. Cevaplar: 0
    Son Mesaj: 19-11-12, 20:07
  3. Cs Plague Ye Gelmesi Gereken Yenilikler
    By GreatBunny in forum Sohbet / Geyik
    Cevaplar: 4
    Son Mesaj: 30-07-12, 22:03

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

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 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121