Forum
Scripts
How can be just txt side colored.
How can be just txt side colored.
3 replies
1

addhook("say","_s")
function _s(id,text)
	if player(id,"team") == 1 then
		text = "\169255000000"..player(id,"name")..":\169255255255"..text
	elseif player(id,"team") == 2 then
		text = "\169000000255"..player(id,"name")..":\169255255255"..text Then make sure you message the text and handle return properly.
1
2
3
4
5
6
7
8
9
10
2
3
4
5
6
7
8
9
10
addhook("say","_say")
function _say(id,txt)
		if player(id,"team")==1 then
			msg("\169255025000"..player(id,"name").." \169255255000: "..txt)
			return 1
		elseif player(id,"team")==2 then
			msg("\169000128255"..player(id,"name").." \169255255000: "..txt)
			return 1	
	end
end
KingShadow: @
Rainoth: Thank you
1

Offline