Unable to punch each other. - 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: Unable to punch each other. (
/showthread.php?tid=641381)
Unable to punch each other. -
iLearner - 15.09.2017
Hello,
So I've 2 teams, TEAM_A and TEAM_B, both are set to different teams (SetPlayerTeam) however both cant damage each other with punches, as far as i knew this was done when both have same teams but its not the case as both have different teams.
@BigETI told me it also happens when both players are away from land or are at water and yes that's the case players are on a map mapped over water however i have seen servers where this thing works just perfect even on water so anyone has any solution for this?
Re: Unable to punch each other. -
Kane - 15.09.2017
Would be best to show us OnPlayerTakeDamage.
Re: Unable to punch each other. -
BigETI - 15.09.2017
I've never said
Quote:
are away from land or are at water
|
Being far away from the map
concludes that you are on water.
Just keep the bounds within (-3000; 3000).