[FilterScript] Dying Status (inspired in RE5)
#1

Ye, looks like an idiot filterscript but well, I guess I shall share my retarded ideas and works incase anyone finds that useful for something and bla bla bla...

How to use:
U generally use it as a Filterscript, but, you can use that as a Gamemode, IF YOU ARE A SCRIPT beginner, DON'T TRY TO CONVERT THE FS TO YOUR GM, OR YOU MIGHT FUCK YOUR GM.
How it works:
When someone's health is under 15 (RE5 value couldn't be under 25 or you would be under the dying state, but on SAMP, things are harder so 15 should be better), you will have a message saying "You are dying" (textdraw message), and you should tap the fire button (LMB for most PC's) to recover health, each LMB tap, 1 health more to save you from your status until it reaches 16 of health, but, if the player doesnt do such a easy task of pressing LMB, he will remain frozen and fallen on the floor till he die, which will bring out a message to everyone, saying that player died while on Dying status (apparently RE5 carrer use a partner as your hope to escape the status, but since this is SA-MP, i kinda copied that fashioned Mercenaries way...).
Picture:
Check on the end of this topic (My net is shitty today, so I cant load the sharing website)
Download
Thanks for visiting this retarded post, of a retarded filterscript... And sorry for the low quality attachment, shitty net requires shitty means of uploading photos, like the forum attachments, that has a photo size limit, meaning I had to fuck its quality
Reply
#2

not bad.. but i think it will cause lag.
Reply
#3

Nice idea, but I think it's kind of obvious when someone has low health. LOL
Reply
#4

not bad but uselessless for me althoug XD
Reply
#5

Ye, Maybe if I share these retarded FS i make, they may be handy for some (like 1% of server owners xD)
Reply
#6

Quote:
Originally Posted by NoahF
Посмотреть сообщение
Nice idea, but I think it's kind of obvious when someone has low health. LOL
Not what I meant with this script, in here, when you have 15 less of health, your health will automatly start draining, and pressing LMB will save you from dying because of that, restoring your health back to 16
Reply
#7

Yeah nice and i agree with NoahF
Reply
#8

OnPlayerUpdate is used in script unnecessarily, it's gonna cause some lag. A way better to do it is in OnPlayerTakeDamage, that is called everytime the player is being damaged (for multiple reasons, shot, fallen, etc.), in there you can check the health.
Reply
#9

Quote:
Originally Posted by CaptainMactavish
Посмотреть сообщение
OnPlayerUpdate is used in script unnecessarily, it's gonna cause some lag. A way better to do it is in OnPlayerTakeDamage, that is called everytime the player is being damaged (for multiple reasons, shot, fallen, etc.), in there you can check the health.
I've never heard of such a callback o.O
Reply
#10

Quote:
Originally Posted by Jay_McReary
Посмотреть сообщение
I've never heard of such a callback o.O
It's a new callback from 0.3e version, there's another new one, OnPlayerGiveDamage, with this you can do something like an anti lag shot syncronization.
I got a suggestion for you, it would be good a textdraw with a red box that cover all the screen, simulating the RE5 Effect.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)