Alıntı tifargemirhan Nickli Üyeden Alıntı Mesajı göster
Forumda Buna Benzer Bişey Mevcut Konu Araştırımı Yapmadan Konu Açmayınız.

Buyur ;

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

#define PLUGIN "El Bası Koruma"
#define VERSION "1.0"
#define AUTHOR "skyshow // byby1" // EDİT : TİFARG

#define TASK           1453
#define STOPGODTIME    5 

//11

new times33 ];

public 
plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
RegisterHamHam_Spawn"player""fw_HamSpawn");
    
register_logevent"logevent_round_end"2"1=Round_End" );


public 
logevent_round_end()
{
    for( new 
i33i++ )
    {
        
remove_taskTASK );        
    }
}

public 
fw_HamSpawnid )
{
    
    if( !
task_existsid TASK ) )
        
remove_taskid TASK );
    
    if( !
is_user_connectedid ) || !is_user_aliveid ) )
        return 
HAM_SUPERCEDE;
    
    switch( 
get_user_teamid ) )
    {
        case 
1:
        {
            
set_user_rendering(idkRenderFxGlowShell,25500kRenderNormal40)
        }
        case 
2:
        {
            
set_user_rendering(idkRenderFxGlowShell,00255kRenderNormal40)
        }
    }
    
timesid ] = 0;
    
set_user_godmodeid);
    
set_task1.0"ShutDown"id TASK );
    return 
HAM_IGNORED;
}

public 
ShutDownid )
{
    
id id TASK;
    
    if( 
timesid ] >= STOPGODTIME )
    {
        if( 
is_user_aliveid ) )
        {
            
remove_taskid TASK );
            
set_user_godmodeid);
            
set_user_renderingidkRenderFxGlowShell000kRenderTransAlpha255 );
            
client_print(id,print_chat,"[ REKLAMIN ] %d Saniyelik oLumsuzLugun Kalkti."STOPGODTIME );
            return 
PLUGIN_HANDLED;
        }
        
    }
    else
    {
        
timesid ]++;
        
client_print(id,print_chat,"[  REKLAMIN ] %d Saniye Sonra oLumsuzLugun Kalkacak."STOPGODTIME timesid ] );
        
set_task1.0"ShutDown"id TASK );
        return 
PLUGIN_CONTINUE;
    }
    return 
PLUGIN_HANDLED;

Düzenlendi Plugınde Hata yok Sunucun csduragi ise colorchat hatası vermistir colorchatsız olarak duzenleme yaptım kullanabılırsın
iyi Forumlar !