CSPLague
Random Health Düzenleme (Konu isimlerini düzgün yazınız) - 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: Random Health Düzenleme (Konu isimlerini düzgün yazınız) (/showthread.php?tid=12449)



Random Health Düzenleme (Konu isimlerini düzgün yazınız) - sallyreer - 06-08-15

#include <amxmodx>
#include <amxmisc>
#include <fun>




#define PLUGIN "Random Health"
#define VERSION "1.0"
#define AUTHOR "akcaliberkk"








public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)

register_logevent("eRS",2,"1=Round_Start")
}
public eRS() {
new players[32],inum;
get_players(players,inum)
new id = players[random(inum)];
set_user_health(id, get_user_health(id) + 25 )
-----------------------------------------------------------------------------------------------------------------------------
abi bu plugin sana ait abi senden isteğim bu plugine mesaj koyman abi her el başı şu isimle oyunca +25 hp gelmiştir. tarzında msj eklersen abi en başındada renkli tag yeri olursa çok güzel olur abi yapmanı 4 gözle bekliyorum. abi yapamıcaksanda haber verirsen çok güzel olur abi.


Cevap: akcaliberkk ABİ BAKARMISIN - XJohnstoNX - 07-08-15

abiyle başladı abiyle bitirdi Big GrinBig Grin


Cevap: akcaliberkk ABİ BAKARMISIN - kutalmismete - 08-08-15

Denermisin. Bu arada forumdaki moderatorler sanırım öldü Sad Konularıma hala cevap bekliyorum


Cevap: akcaliberkk ABİ BAKARMISIN - pandora158 - 30-08-15

Code:
#include <amxmodx>#include <amxmisc>
#include <fun>


#define PLUGIN "Random Health"
#define VERSION "1.0"
#define AUTHOR "akcaliberkk"


public plugin_init() {
    register_plugin(PLUGIN, VERSION, AUTHOR)
    
    register_logevent("eRS",2,"1=Round_Start")
}
public eRS() {
    new players[32],inum;
    get_players(players,inum)
    
    new id = players[random(inum)];
    set_user_health(id, get_user_health(id) + 25 )
    client_print(id,print_chat," +25 Can Rastgele Size Geldi..")
}



Cevap: akcaliberkk ABİ BAKARMISIN - pandora158 - 30-08-15

Yukardaki renksiz ve kişiye özeldir.

Yeni Attığım renkli ve herkeste gözüküyor.

Code:
#include <amxmodx>#include <amxmisc>
#include <fun>


#define PLUGIN "Random Health"
#define VERSION "1.0"
#define AUTHOR "akcaliberkk"


public plugin_init() {
    register_plugin(PLUGIN, VERSION, AUTHOR)
    
    register_logevent("eRS",2,"1=Round_Start")
}
public eRS(id) {
    new players[32],inum,name[32];
    get_players(players,inum)
    get_user_name(id,name,31)
    
    new id = players[random(inum)];
    set_user_health(id, get_user_health(id) + 25 )
    colorchat(0,"!t[!gAMXX!t] !yRastgele +25 HP !g%s !yIsimli Oyuncuya Geldi..",name)
}
stock colorchat(const id, const input[], any:...) {
    new count = 1, players[32]
    static msg[191]
    vformat(msg, 190, input, 3)
    
    replace_all(msg, 190, "!g", "^4") // YESIL YAZI
    replace_all(msg, 190, "!y", "^1") // SARI YAZI (DEFAULT)
    replace_all(msg, 190, "!t", "^3") // TAKIM RENGI ( T Kırmızı - CT Mavi )
    
    if (id) players[0] = id; else get_players(players, count, "ch")
    {
        for (new i = 0; i < count; i++)
        {
            if (is_user_connected(players))
            {
                message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), _, players)
                write_byte(players);
                write_string(msg);
                message_end();
            }
        }
    }
}



Cevap: Random Health Düzenleme (Konu isimlerini düzgün yazınız) - BYHAZARD7 - 17-07-16

Sağolasın Kardeşim Smile