Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ufak Bir Sorun
#2
PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <fun>


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




public plugin_init() 
{
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_event("HLTV""event_new_round""a""1=0""2=0")  
}


public 
event_new_round()
{
    new 
players[32],inum;
    static 
cid;
    
get_players(players,inum)
    for(new 
i;i<inum;i++) 
    {
        
cid players[i];
        
set_cvar_num("mp_friendlyfire",0)
        
set_cvar_num("sv_parachute",1)
        
set_cvar_num("bunny_enabled",1)
        
set_cvar_num("bh_enabled",1)
        
set_cvar_num("sv_gravity",800)
        
server_cmd("amx_unammo @all 0")
        
client_printc(0"[svismi] FF Kapandi")
        
client_printc(0"[svismi] Godmode Kapandi")
        
client_printc(0"[svismi] Gravity Kapandi")
        
client_printc(0"[svismi] Unammo Kapandi")
        
client_printc(0"....")
        
client_printc(0"[svismi] Ayarlar Eski Haline Getirildi.")


        if(
get_user_team(cid) == 2)
        {
            
set_user_godmode(cid0)
            
set_user_rendering(cid,kRenderFxGlowShell,0,0,0,kRenderNormal,25)
        }
        else if(
get_user_team(cid) == 1)
        {
            
set_user_godmode(cid0)
            
set_user_rendering(cid,kRenderFxGlowShell,0,0,0,kRenderNormal,25)
        }
    }
}


stock client_printc(const id, const input[], any:...) 

    new 
count 1players[32]; 
    static 
msg[191]; 
    
vformat(msg190input3); 
    
    
replace_all(msg190"!n""^x01");
    
replace_all(msg190"!g""^x04");     
    
replace_all(msg190"!t""^x03");


    if (
idplayers[0] = id; else get_players(playerscount"ch"); { 
        for (new 
0counti++) 
        { 
            if (
is_user_connected(players)) 
            { 
                
message_begin(MSG_ONE_UNRELIABLEget_user_msgid("SayText"), _players); 
                
write_byte(players); 
                
write_string(msg); 
                
message_end(); 
            } 
        } 
    }


- - - - - - - - - -

Al kardeşim


UYARI : alıntı yaparak değil PHP kullanarak kodları paylaşmalısın..[/i][/i][/i][/i]
PHP Code:
Ücretli Plugin Yapılır"[CSY]"// Tamamen Güvenilir// Bugsuz ve Hatasız============== ILETISIM ================="[Skype]   PurposeLess35                                                                 "====================================== 
Reply


Messages In This Thread
Ufak Bir Sorun - by messert - 16-05-15, 00:25
Cevap: Ufak Bir Sorun - by PurposeLess - 01-06-15, 19:30
Cevap: Ufak Bir Sorun - by sallyreer - 13-07-15, 14:56

Possibly Related Threads…
Thread Author Replies Views Last Post
  Hazır JBMenude Ufak Değişiklik İsteği exelds78 2 5,417 09-12-17, 12:54
Last Post: exelds78
  Oyunyöneticisi Panelinden Eklenti Yüklerken Karşılaşılan Sorun Hakkında akcaliberkk 13 8,279 10-09-17, 17:03
Last Post: BaBacK
  Jbmenuye ufak bir ayar kadir008 2 4,962 04-07-15, 15:48
Last Post: kadir008
  Ping Kicker Sorun memoaho123 2 3,200 25-06-15, 11:44
Last Post: seksen1bin
  shop a 2 ufak istek bloody123 7 3,760 30-04-15, 21:47
Last Post: Kaymaklii
  jop ve testerede ufak sıkıntı bloody123 4 3,104 29-04-15, 00:12
Last Post: bloody123
  Clock plugini ufak bir sorun jackdalton06 9 6,449 27-04-15, 21:18
Last Post: Kaymaklii
  Shop ile ilgili bir sorun GreatsGaming 3 4,187 10-04-15, 12:55
Last Post: kedusa
  Sorun var mı yok mu? GreatsGaming 4 3,933 12-03-15, 02:58
Last Post: hahamanyakba

Foruma Atla:


Users browsing this thread: 1 Guest(s)