CS2D
Scripts Image as hud, and using it. Image as hud, and using it.
3 replies Hi everyone .
Maybe someone know how to make image, that will be "pressable" .-.
If i did press serveraction, then image will happened as hud:
freeimage(imag)
imag = ...blabla
If i did press "X" that menu will just removed from.
freeimage(imag)
I guess it can be easy?
example as
buttons = {
[1]={"gfx/kela1/menuexample.png",64,64,2"};
[2]={"gfx/kela1/menuclose.png",500,64,2"}
freeimage(1,2);
}
Thanks you :d i did it two years ago but i lost the lua and i forget how to do but , as i remember i used attack hook, if clientdata on proper x,y of screen then removeimage
something like this
visual lua is too complex i think u can do from my way if you know coding @ VADemon: i don't understand how to use that.
@
X-Files: has written
if you know coding
a little bit.