Hello, I had a few questions that i need help with before I actally release my plugin. Anyone who can / will help me, it will be very much appricaited! (This is all for Counter-strike, and CS only)
I need to determine if a player was hurt by falling, or anything else (as in like being on fire), but not by being hurt from another player
this is how i determine most of my things right now:
Code:
new weapon, bodypart, attacker = get_user_attacker(id,weapon,bodypart)
if (attacker == 0)
return PLUGIN_CONTINUE
if (attacker == id && weapon == 0)
return PLUGIN_CONTINUE
I thought that possibly one of those would be it. Can someone help me to dertmine if the client got hurt from falling
Problem number 2 is would anyone know a command or way to throw a body backwards when trying to "fake" ones death, but it sohuld have been a headshot? For example, i shot you in the head, and i faked your death because you still lived, however it didn't throw you back a few meters like it would if it was a real headshot, is there a way to throw a players head back? And have their leg twitch for half a second. (If you dont understand this part just say so please)
And for the last problem, how could i determine if someone joined a team (and is alive) in the middle of the round, after it started?)
Thank you once again, if you reply you dont have to answer all the ?'s just one would make me happy!

(also if my grammer or explantion of anything confuses you please post back and I will make it alot more clear!)