Hello,I need help, help me please, in my script, the bomber explode if I'm at proximity, but if I'm far it doesn't explode.
This is the script, help me please
;Script by Hell_666
;Ply's mod requiered
desc = Arm Bomber
;Triggers
//HUDS
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\text\pressentertouse.tga,hudname=usedoorprompt,hudhide=1,hudmake=display,state=1
:state=1,plrdistwithin=80:hudshow=usedoorprompt,hudfadeout=usedoorprompt
//Code Key
:state=1,scancodekeypressed=79:state=2,sound=audiobank\misc\keypressed.wav
:state=2,scancodekeypressed=80:state=3,sound=audiobank\misc\keypressed.wav
:state=3,scancodekeypressed=81:state=4,sound=audiobank\misc\keypressed.wav
:state=4,scancodekeypressed=75:state=5,sound=audiobank\misc\keypressed.wav
//Bomber armed
:state=5:timerstart,state=6,loopsound=audiobank\misc\keypressed.wav
:state=6,plrdistfurther=0,timergreater=10000:entityaddhealth=-100
;End of script
Eternal suffering ...
I'm french