Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ColorChat yardım
#1
ColorChat(id,GREEN," ASDFASDF")
bu direk yeşil yazıyor
bende stockuda var
ColorChat(id,....,"!g[TAG] : !y ASDFASD")
böyle olsun istiyorum ... yazan yere ne yazacağım?
Reply
#2
Quote:stock chat_color(const id, const input[], any:...) {
new count = 1, players[32]
static msg[191]
vformat(msg, 190, input, 3)

replace_all(msg, 190, "!g", "^4")
replace_all(msg, 190, "!y", "^1")
replace_all(msg, 190, "!t", "^3")
replace_all(msg, 190, "!team2", "^0")

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();
}
}
}
}

Bunu Kullan. Örnek Olarak;

Quote:chat_color(id,"!twww.CSPLAGUE.com !gPlugin Paylasim !yPlatformu.")

!t = team rengi
!g = yeşil
!y = normal say rengi[/i][/i]
Legend Young

Skype: ozan_secgin96
Reply
#3
Çok Sağol Çözüldü Smile
Reply
#4
çözülmüş istekler bölümüne taşınmıştır.
Legend Young

Skype: ozan_secgin96
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  ColorChat Error Bakarmısınız Config Setting 8 9,932 17-07-16, 18:00
Last Post: BYHAZARD7
  Pass Sprite [YARDIM] chirkinqral 9 3,382 31-05-16, 00:48
Last Post: enestricks
  Pluginde hata lütfen yardım :) tarlacixx 2 4,952 10-04-15, 12:45
Last Post: kedusa
  Yardım istek hasanx9 4 2,013 06-03-15, 04:36
Last Post: bireysel
  Istegim icerde yardım hasanx9 7 2,841 21-02-15, 00:11
Last Post: eneskaraca55
  Ufak bi yardim t4t1fati 6 2,754 20-02-15, 23:59
Last Post: eneskaraca55
  Jail Serverime Jbşhop Ekliyorum Ama Olmuryor Yardım Edermisiniz starkovboy1 2 4,062 20-02-15, 04:15
Last Post: beoujolf
  Colorchat Sorunu (Slotol) dable4 25 6,195 14-01-15, 21:09
Last Post: Neith
  Biohazard Mod Yardım++++ mertan272 14 6,848 21-08-14, 00:31
Last Post: recep2
  Şapka~Ayakkabı eklemem ıcın plugın lazım amxx- sma sı olan yardım edın prov 7 6,763 04-08-14, 20:21
Last Post: gewer44

Foruma Atla:


Users browsing this thread: 1 Guest(s)