OnPlayerGiveDamage or OnPlayerTakeDamage
#3

OnPlayerGiveDamage reports when the CLIENT deals damage.
OnPlayerTakeDamage reports when the CLIENT takes damage.

The difference is OnPlayerGiveDamage reports when the CLIENT hits the skin, however it doesn't mean that the player's position was the same of the skin because of SA-MP synchronization system.

OnPlayerTakeDamage instead reports when the CLIENT takes damage, just like SA-MP has ever worked.
Reply


Messages In This Thread
OnPlayerGiveDamage or OnPlayerTakeDamage - by iJumbo - 07.08.2013, 13:28
Re: OnPlayerGiveDamage or OnPlayerTakeDamage - by Edix - 07.08.2013, 13:48
Re: OnPlayerGiveDamage or OnPlayerTakeDamage - by GiamPy. - 07.08.2013, 13:53
Re: OnPlayerGiveDamage or OnPlayerTakeDamage - by iJumbo - 07.08.2013, 14:00

Forum Jump:


Users browsing this thread: 2 Guest(s)