CSPLague
[Zp]-[STEK]-[Dogdugunda 5 Saniye God] - Printable Version

+- CSPLague (https://www.csplague.com)
+-- Forum: CS 1.6 Plugin (Eklenti) Bölümü (https://www.csplague.com/forumdisplay.php?fid=6)
+--- Forum: [İSTEK] Cs 1.6 Plugin İstek Bölümü (https://www.csplague.com/forumdisplay.php?fid=80)
+---- Forum: Çözülmüş İstekler (https://www.csplague.com/forumdisplay.php?fid=87)
+---- Thread: [Zp]-[STEK]-[Dogdugunda 5 Saniye God] (/showthread.php?tid=10781)

Pages: 1 2


[Zp]-[STEK]-[Dogdugunda 5 Saniye God] - mikail5529 - 09-09-14

zombi plague için çok güzel bir eklenti olabilir baseye lazer kuranlar olduğu için basede doğanlar sadece 5 saniye god alsın alttanda Dokunulmazlik kalan 5 4 3 2 1 diye yazarsa manyak olur yaparsanız sevinirim


Cevap: [Zp]-[STEK]-[Dogdugunda 5 Saniye God] - JeagerTR - 09-09-14

Buyur ektedir.


Cevap: [Zp]-[STEK]-[Dogdugunda 5 Saniye God] - mikail5529 - 09-09-14

hacı saydan Olumsuzlugun bitmesine son 5 4 3 2 1 bunu yapabilirmisin adamlar anlasınki çıksın lazerin içinden


Cevap: [Zp]-[STEK]-[Dogdugunda 5 Saniye God] - tifargemirhan - 09-09-14

Forumda Buna Benzer Bişey Mevcut Konu Araştırımı Yapmadan Konu Açmayınız.

Buyur ;

PHP Code:
#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;




Cevap: [Zp]-[STEK]-[Dogdugunda 5 Saniye God] - mikail5529 - 09-09-14

hatalı diyor kardeşım kontrol edermisin


Cevap: [Zp]-[STEK]-[Dogdugunda 5 Saniye God] - tifargemirhan - 09-09-14

tifargemirhan dateline='' Wrote: Forumda Buna Benzer Bişey Mevcut Konu Araştırımı Yapmadan Konu Açmayınız.

Buyur ;

PHP Code:
#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 !




Cevap: [Zp]-[STEK]-[Dogdugunda 5 Saniye God] - satknun1997 - 10-09-14

[MENTION=34345]tifargemirhan[/MENTION] bu plugine respawn ekleyip ölenleri terörist olarak doğuracak şekilde ayarlar misin ? Bide son olarak compile edip ek olarak atarsak walla çok memnun olurum bi turlu bulamadık böyle şimdiden çok teşekkürler Smile

- - - - - - - - - -
[MENTION=34345]tifargemirhan[/MENTION] bu plugine respawn ekleyip ölenleri terörist olarak doğuracak şekilde ayarlar misin ? Bide son olarak compile edip ek olarak atarsak walla çok memnun olurum bi turlu bulamadık böyle şimdiden çok teşekkürler Smile


Cevap: [Zp]-[STEK]-[Dogdugunda 5 Saniye God] - tifargemirhan - 10-09-14

[MENTION=11274]satknun1997[/MENTION]

Serverin Basebuilder Felanmı Neden Istıyorusn Boyle Bır Plugın ?


Cevap: [Zp]-[STEK]-[Dogdugunda 5 Saniye God] - satknun1997 - 10-09-14

[MENTION=34345]tifargemirhan[/MENTION] Zombi Plague mod

- - - - - - - - - -
[MENTION=34345]tifargemirhan[/MENTION] Zombi Plague mod


Cevap: [Zp]-[STEK]-[Dogdugunda 5 Saniye God] - tifargemirhan - 10-09-14

@satknun1997