CSPLague
[İSTEK] Reklam - 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: [İSTEK] Reklam (/showthread.php?tid=2806)



[İSTEK] Reklam - BLooDGaMinG - 18-03-12

https://www.csplague.com/plugin-cs-1-6-eklentileri/2140-csp-reklam-plugini-v1-0-a.html

Linkteki Pluginin Sma Uzantılı Dosyasını atabilecek olan var mı ?

KONU YANLIŞ YERDE Big Grin çok özür dilerim hemen kaldırıcam


Cevap: [İSTEK] Reklam - Schwertle - 18-03-12

PHP Code:
#include <amxmodx>

#define PLUGIN "CSPlague Reklam"
#define VERSION "1.0"
#define AUTHOR "Halis KILIC - [email protected]"
#define SITE "www.CSPLague.com - www.CSPLague.Net"

new hudsabit;
new 
serveradi[64];

public 
plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
register_cvar("___Yapimci"AUTHORFCVAR_SERVER FCVAR_SPONLY)
    
register_cvar("___Site"SITEFCVAR_SERVER FCVAR_SPONLY)
    
set_task(1.0,"server_adi",0,"",0,"b",0)
    
set_task(150.0,"say_yazisi",0,"",0,"b",0)
    
set_task0.7"olunce_sabit_hud"1""0"b" )
    
hudsabit CreateHudSyncObj( )
}

public 
olunce_sabit_hud () 
{
    static 
oyuncular[32]
    new 
sayioyuncu
    
    get_players
(oyuncularsayi"bch")
    
set_hudmessage(2552552550.540.11__1.1__1)

    for(new 
0sayi; ++i
    {
        
oyuncu oyuncular[i]
        
set_hudmessage(025500.540.1120.00.01)
        
ShowSyncHudMsg(oyuncuhudsabit"www.CSPLague.com"); 
        
    }    
}

public 
say_yazisi()
{
    
chat_color(0,"!g[www.CSPLague.com] !yBu serveri tavsiye etmektedir.")
}

public 
server_adi ()
{
    
get_cvar_string("hostname",serveradi,63)
    if( 
contain(serveradi"www.CSPLague.com") != -1  )    
    {    
        return 
PLUGIN_HANDLED
    
}
    
server_cmd("hostname ^"%s www.CSPLague.com^""serveradi)
    return 
PLUGIN_HANDLED
}



//Renk Kodu {
stock chat_color(const id, const input[], any:...)
{
    new 
count 1players[32]
    static 
msg[191]
    
vformat(msg190input3)
    
    
replace_all(msg190"!g""^4")
    
replace_all(msg190"!y""^1")
    
replace_all(msg190"!t""^3")
    
replace_all(msg190"!team2""^0")
    
    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();
            }
        }
    }


KOnu Çözümlenmiştir![/i][/i][/i][/i]


Cevap: [İSTEK] Reklam - BLooDGaMinG - 23-03-12

Teşekkürler.