Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Random Health Düzenleme (Konu isimlerini düzgün yazınız)
#1
#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.
Reply
#2
abiyle başladı abiyle bitirdi Big GrinBig Grin
[Image: sigpic34973_1.gif]
Reply
#3
Denermisin. Bu arada forumdaki moderatorler sanırım öldü Sad Konularıma hala cevap bekliyorum


Attached Files
.amxx   canekleme.amxx (Size: 1.86 KB / Downloads: 1)
Reply
#4
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..")
}
Reply
#5
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();
            }
        }
    }
}
Reply
#6
Sağolasın Kardeşim Smile
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Bugda kalıyor acıl [başka konu] SavagesClaN 13 5,198 14-01-15, 21:17
Last Post: Neith
  acil bir düzenleme satknun1997 6 3,710 21-08-14, 00:42
Last Post: recep2
  JbShop'a düzenleme bloody123 8 3,870 25-07-14, 04:58
Last Post: ugurdogan
  Random Silah KeNZ0 12 12,998 10-06-14, 17:25
Last Post: JDM
  Random Num Yapmada Yardım TheZeytech 4 2,923 03-06-14, 14:17
Last Post: TheZeytech
  Admintag plugininde düzenleme HijyeniK 16 3,859 13-05-13, 18:51
Last Post: akcaliberkk
  Düzenleme (furkandize) melof 20 4,757 09-05-13, 20:47
Last Post: akcaliberkk

Foruma Atla:


Users browsing this thread: 1 Guest(s)