go to your resources folder
export damageragdoll
Add this in your server.cfg : ‘start damageragdoll’
[DESCRIPTION]
This little script makes people fall down if they get shot and stand up after 5 seconds. This is good for RP server but not much good for anything else. The only problem is that you fall down if you shoot a NPC. I can’t seem to get that fixed so yeahhh, live with it xD. It works good on my server so have fun with it xD
I’d reference the crouch script to pull the “injured” animation first, however, this script appears to ragdoll the player based on impact of a bullet, not the level of health.
I’d suggest (for realism purposes) creating a point where if you drop below a certain percent of health, you go into the injured walking animation, and then once you get to an even lower percentage, you’re forced into ragdoll for a short period of time
True xD I will look in to it but can’t promise anything xD other Problem is that i have more life on my server, anyone know how much standard amount of life is? 200 or 250?
OR maybe to simplify things, you could force a person to go into “Sunbathe” once they get below a certain level of health instead of ragdolling. This would at least allow the person to cancel the animation
There is a problem because when i shoot at a random NPC, I will fall down . How do i fix this in the Client.lua. that when i shoot a NPC that i dont fall