OnPlayerGiveDamage
#1

Hello, so, as I know, OnPlayerGiveDamage is called when "player X" hits another "player Y" in his computer, regardless if player Y was damaged or not.

So my question is, how to check if player Y lost HP when OnPlayerGiveDamage was called, and if he wasn't damaged, take "damage" from his health..

Help please!
Reply
#2

U r not sensible!They won't take damage in their computer neither do you see the health bar going down!
Reply
#3

I mean: "check if "damagedid" was damaged when OnPlayerGiveDamage was called", because sometimes when you're running, I hit you with my fist, OnPlayerGiveDamage is called because I did hit you but you didn't lose health because in your computer I didn't hit you.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)