Ozan Colorchat olarak yapa bilirmisin sevinirim ?
Zaten plugin colorchat'lıydı bende colorchat inc yok diye client print'e editledim. al alttaki color chatli hali;
Kod:
#include <amxmodx>
#include <fun>
#include <colorchat>
public plugin_init()
{
register_event("HLTV", "EventHLTV", "a", "1=0", "2=0")
}
public EventHLTV()
{
set_task(0.1, "GiveHealth")
}
public GiveHealth()
{
new players[32], count
get_players(players, count, "a")
if(count)
{
new iPlayer = players[random(count)]
new name[32]
get_user_name(iPlayer, name, charsmax(name))
set_user_health(iPlayer, get_user_health(iPlayer)+25)
ColorChat(0, TEAM_COLOR, "^x04[HP]^x01 Gratz to^x03 %s^x01! He recieved^x04 +25^x01 hp.", name)
}
}