Filterscript Help
#1

Hi,
I have found this nice filterscript: http://forum.sa-mp.com/showthread.ph...hlight=injured which is supposed to make you fall on the ground, freeze you and make you "injured" when your health is below 10. The problem is that when player gets shot from a weapon that takes more damage (like deagle, shotgun, spas, etc) then player dies as he didn't reach 10 or less hp but let's say went from 30 hp to 0 and the injury thing doesn't work. So how can I make player be injured when his health reaches 0? I don't want him to die or something I want it to do same stuff as in the filterscript. Pastebin here: http://pastebin.com/f6158b3be
Reply
#2

Quote:
Originally Posted by GoldenLion
Посмотреть сообщение
Hi,
I have found this nice filterscript: http://forum.sa-mp.com/showthread.ph...hlight=injured which is supposed to make you fall on the ground, freeze you and make you "injured" when your health is below 10. The problem is that when player gets shot from a weapon that takes more damage (like deagle, shotgun, spas, etc) then player dies as he didn't reach 10 or less hp but let's say went from 30 hp to 0 and the injury thing doesn't work. So how can I make player be injured when his health reaches 0? I don't want him to die or something I want it to do same stuff as in the filterscript. Pastebin here: http://pastebin.com/f6158b3be
Unless you want a shitload of case's or if statements, its best to get the pos when he dies, reset him there, set his health and then play the animation or whatever.
Reply
#3

Quote:
Originally Posted by Jamester
Посмотреть сообщение
Unless you want a shitload of case's or if statements, its best to get the pos when he dies, reset him there, set his health and then play the animation or whatever.
I have that in the gamemode. I'm using the South Central RP. Okay, but is it possible to respawn faster? Like after death player immediately falls on the ground without any waiting like in LSRP.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)