Raised This Month: $ Target: $400
 0% 

Colorchat not working properly


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kHRYSTER
New Member
Join Date: Nov 2013
Old 11-13-2013 , 06:38   Re: Colorchat not working properly
Reply With Quote #1

Use chatcolor.inc and this lines ur sources:

PHP Code:
stock print_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"""á")
replace_all(msg190"""Ă")
replace_all(msg190"""Ă")
replace_all(msg190"""Ăł")
replace_all(msg190"""Ă")
replace_all(msg190"ő""Ĺ")
replace_all(msg190"""Ăş")
replace_all(msg190"""ĂĽ")
replace_all(msg190"ű""Ĺ")
replace_all(msg190"""Ă")
replace_all(msg190"""Ă")
replace_all(msg190"""ĂŤ")
replace_all(msg190"""Ă")
replace_all(msg190"""Ă")
replace_all(msg190"Ő""Ĺ")
replace_all(msg190"""Ă")
replace_all(msg190"""Ăś")
replace_all(msg190"Ű""Ĺ")
 
if (
idplayers[0] = id; else get_players(playerscount"ch")
{
for (new 
0counti++)
{
if (
is_user_connected(players[i]))
{
message_begin(MSG_ONE_UNRELIABLEget_user_msgid("SayText"), _players[i])
write_byte(players[i])
write_string(msg)
message_end()
}
}
}
return 
PLUGIN_HANDLED

Attached Files
File Type: inc colorchat.inc (2.4 KB, 91 views)

Last edited by kHRYSTER; 11-13-2013 at 06:38.
kHRYSTER is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:17.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode