Forum

> > CS2D > Scripts > HUD Img error.
Forums overviewCS2D overview Scripts overviewLog in to reply

English HUD Img error.

4 replies
To the start Previous 1 Next To the start

moved HUD Img error.

4Vendetta
User Off Offline

Quote
Hi, someone can tell me how I make this works in Standart?
It only works in DM and TDM..
1
2
3
4
5
6
local id=image("gfx/4V/newradar.png",0,0,2)
imagecolor(id,255,0,0)
imageblend(id,1)
imagealpha(id,0.5)
imagescale(id,2,3)
imagepos(id,30,30,45)

old Re: HUD Img error.

Yamaxanadu
User Off Offline

Quote
If it already works in DM and TDM, it also works in standard, you just done something wrong in the making of the server

That, or Standard is hardcoded, it is, right?

old Re: HUD Img error.

Apache uwu
User Off Offline

Quote
Make sure that this is under a startround hook. All images are removed on round start.

1
2
3
4
5
6
7
8
9
10
addhook("startround","_startround")

function _startround()
	local id=image("gfx/4V/newradar.png",0,0,2)
	imagecolor(id,255,0,0)
	imageblend(id,1)
	imagealpha(id,0.5)
	imagescale(id,2,3)
	imagepos(id,30,30,45)
end
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview