SA-MP Forums Archive
regarding onplayertakedamage? - 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: regarding onplayertakedamage? (/showthread.php?tid=511826)



regarding onplayertakedamage? - burnuk - 07.05.2014

onplayertakedamage doesn't get called when a player uses godmode/health hacks... is there anyway to have a work around on this? i don't want to use onplayergivedamage since i don't want players that are modifying their weapon.dat or uses cleo to modify their weapon damage and range which works if i use onplayergivedamage.


Re: regarding onplayertakedamage? - Eth - 07.05.2014

then use onplayergivedamage.. it's better i think..


Re: regarding onplayertakedamage? - burnuk - 07.05.2014

Quote:
Originally Posted by Eth
Посмотреть сообщение
then use onplayergivedamage.. it's better i think..
pls read entirely what i posted earlier.


Re: regarding onplayertakedamage? - SickAttack - 08.05.2014

Well simple use OnPlayerGiveDamage and make custom weapon damages.


Re: regarding onplayertakedamage? - burnuk - 08.05.2014

Quote:
Originally Posted by SickAttack
Посмотреть сообщение
Well simple use OnPlayerGiveDamage and make custom weapon damages.
i already did that. and the problem now is the weapon range. players using deagle like sniper range....