English HUD Img error.

4 replies
Goto Page
To the start Previous 1 Next To the start
14.03.12 09:42:12 pm
Up
4Vendetta
User
Offline Off
Hi, someone can tell me how I make this works in Standart?
It only works in DM and TDM..
Code:
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)
IMG:http://www.userbars.com/129001/690511/4-470-ubd4008k.png
IMG:http://img710.imageshack.us/img710/3447/4vendetta.png
15.03.12 04:48:52 am
Up
Yamaxanadu
User
Offline Off
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?
Back in business, and I'll try not to be the Enigmatic asshole that i used to be....I hope
15.03.12 04:55:35 am
Up
Rumine
User
Offline Off
Make sure that this is under a startround hook. All images are removed on round start.

Code:
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
15.03.12 10:57:08 am
Up
4Vendetta
User
Offline Off
@user Rumine: Thanks, this works!
IMG:http://www.userbars.com/129001/690511/4-470-ubd4008k.png
IMG:http://img710.imageshack.us/img710/3447/4vendetta.png
21.03.12 10:21:33 pm
Up
-Tmz-
User
Offline Off
Forgot Do AddHook and function
[img]img1.uploadhouse.com/fileuploads/15073/15073151f0c3793272f28eb7634bb2ea10d87706.jpg[img]
To the start Previous 1 Next To the start