Ok, but I dont thing anyone will find this amateur-madeby script useful. (I`m a beginner, and from eastern europian country with small knowledge of English language so Its hard to learn fpi scripting from manual)
SINCE I NOT STARTED MAKING HUDS, I USED THE HUDS THAT I FOUND IN FPSC GAME DIRECTORY AND SOUNDS TOO.
desc = start to ``gag`` if your health is less then 50 and makes you better if you pick up some medicine
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=gamecore\text\pickedupakey.dds,hudname=hud1,hudhide=1,hudmake=display,state=1
:state=1,plrhealthless=50:state=2,plrsound=audiobank\atmos\acidhum.wav,hudshow=hud1
:state=2,random=1:plrfreeze=1
:state=2,random=2:plrfreeze=0
:state=2,plrhealthgreater=50:plrfreeze=0,state=1,hudunshow=hud1
Please correct me if I made something wrong. But everything works fine for me.
That is not dead which can eternal lie. And with strange aeons even death may die.
H.P.L