for example: !white etc... with commands like
Forum
CS2D Scripts How to change color during gameHow to change color during game
4 replies 1
for example: !white etc... with commands like
@ phalenkO: Please use the search function before asking. There are many threads about this topic already.
e.g.: script request (chat color) or custom color when player say
just search for something like "chat color"
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
clr = { user = {}, ["red"] = "255000000", ["green"] = "000255000", ["blue"] = "000000255" } addhook("join","_j") function _j(id) 	clr.user[id] = clr.red end addhook("say","_s") function _s(id,t) 	for k,v in pairs (clr) do 		if t:find(k) then 			clr.user[id] = clr[k] 			return 1 		end 	end 	msg("/169..clr.user[id]..player(id,"name")..t) end
Thx For LUA
1