Hey ply, I tried it but it is not working! The "Continue hud" is not being displayed neither the engine pause the game when the player dies. It was working all good before putting that condition you suggested. Can you please correct it?
setuplevel.fpi
; Main Game
:state=1:setvar=$PL 3
:state=1,escapekeypressed=1:pausegame,state=2
:state=1,plralive=0,vargreater=$PL 1:pausegame,state=7
:state=1,scancodekeypressed=197:pausegame,state=11
:state=1,scancodekeypressed=64:hudshow=savingprompt,quicksavegame,pausegame,state=21
:state=1,scancodekeypressed=67:quickloadgame,state=31
:state=11,scancodekeypressed=0:state=12
:state=12,scancodekeypressed=197:resumegame,state=13
:state=13,scancodekeypressed=0:state=1
:state=21,scancodekeypressed=0:hudunshow=savingprompt,resumegame,sta
te=1 :state=31,scancodekeypressed=0:state=1
State 7
:state=7:hudreset,hudx=50,hudy=50,hudimage=languagebank\english\gamecore\backdrops\Mumbai\udead.dds,hudname=udead,hudmake=display
:state=7:hudshow=udead
:state=7,scancodekeypressed=21:state=8
:state=7,scancodekeypressed=49:continuegame,destroy
Your signature has been erased by a mod. please make it no larger than 9999999 x 9999999