Fix damage to player - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Fix damage to player (
/showthread.php?tid=652549)
Fix damage to player -
Hitropl - 14.04.2018
hi, have problem with damage to player, sometimes the damage to the players simply does not go away.
lagcomp is enabled
perhaps there is some solution to this problem?
Re: Fix damage to player -
TitoRayne - 14.04.2018
There's not, maybe the player is toggling health hack.
Re: Fix damage to player -
Hitropl - 14.04.2018
Maybe it's bug on samp?
Re: Fix damage to player -
Mugala - 14.04.2018
it's not a bug, it's depends a sync.
use sky plugin and weapon-config.inc for the better sync.
https://sampforum.blast.hk/showthread.php?tid=563387 (weapon-config.ing)
https://sampforum.blast.hk/showthread.php?tid=563442 (sky plugin)
p.s. you must use OnPlayerDamage callback instead of OnPlayerGiveDamage & OnPlayerTakeDamage, also read the manual of weapon-config.inc, otherwise you'll not be able to use it.