Well as the title suggests, this is simply not working for me. I am simply trying to display a hud. Worked fine before under v103 and v104. The hud definition itself is not the issue as it displayed fine without scancodekeypressed.
I get one of two results:
1) Nothing happens at all or
2) the hud that displays when the player is shot appears, in fullscreen
Also, when you press "i" your health rises to 9999. Odd....
Here's the code in case I made some mistake
:state=0:hudreset,hudx=50,hudy=100,hudimagefine=(accurate path),hudname=hud,hudhide=1,hudmake=display,state=1
:state=1,scancodekeypressed=50:hudshow=hud