1
2
3
4
5
2
3
4
5
addhook("join","as")
function as()
local text = parse('hudtxt 1 "Test "282 26')
tween_color(text,2000,050,255,100)
end
It doesnt work please fix it
Scripts
tween_color (lua)
tween_color (lua)
1

addhook("join","as")
function as()
local text = parse('hudtxt 1 "Test "282 26')
tween_color(text,2000,050,255,100)
end
join, and
hudtxt2, and
tween_color.addhook("join","as")
function as(id)
	parse('hudtxt2 '..id..' '..id..' "Test" 282 26')
	tween_color(id,2000,050,255,100)
end
?
limonata: The problems with your code are:
parse command doesn't return any value. So doing something like variable=parse(...) NEVER makes any sense.
hudtxtcolorfade. Note that it is a CS2D console command so you have to use it with
parse when using it in a Lua script. Also the ID of the hudtxt is 1 because you specified 1 as ID (see:
hudtxt)parse("hudtxtcolorfade 0 1 2000 50 255 100")
Apache uwu: Your code isn't correct either. You are using
tween_color with a player ID. It expects an image ID.
1
