SA-MP Forums Archive
Can't take damage - 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: Can't take damage (/showthread.php?tid=578699)



Can't take damage - Chrillzen - 21.06.2015

Player are not taking any damage, I have squat under OnPlayerGiveDamage and OnPlayerTakeDamage.. I remember I edited something a while ago but I don't remember what it was.. any ideas?


Re: Can't take damage - Dusan01 - 21.06.2015

Probbably u puted
PHP код:
return 0



Re: Can't take damage - Chrillzen - 21.06.2015

I have return 1;


Re: Can't take damage - Konstantinos - 21.06.2015

Possibilities:

- SetPlayerTeam is used and players with same team cannot damage others.
- Returning 0 in OnPlayerWeaponShot prevents the bullets from damaging others.


Re: Can't take damage - Chrillzen - 21.06.2015

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
Possibilities:

- SetPlayerTeam is used and players with same team cannot damage others.
- Returning 0 in OnPlayerWeaponShot prevents the bullets from damaging others.
I have neither of those. I have no filterscripts either.