SA-MP Forums Archive
OnPlayerGiveDamage and OnPlayerTakeDamage doesn't work on NPCs? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Bug Reports (https://sampforum.blast.hk/forumdisplay.php?fid=20)
+--- Thread: OnPlayerGiveDamage and OnPlayerTakeDamage doesn't work on NPCs? (/showthread.php?tid=330478)



OnPlayerGiveDamage and OnPlayerTakeDamage doesn't work on NPCs? - BigETI - 01.04.2012

I found out that OnPlayerGiveDamage and OnPlayerTakeDamage won't work if you shoot on NPCs.

It would be very usefull to make the NPCs shootable.

Regards


Re: OnPlayerGiveDamage and OnPlayerTakeDamage doesn't work on NPCs? - lolumadd_ - 01.04.2012

Isn't a bug but this should be added!


Re: OnPlayerGiveDamage and OnPlayerTakeDamage doesn't work on NPCs? - boelie - 01.04.2012

+1000 hell this should be added big time!


Re: OnPlayerGiveDamage and OnPlayerTakeDamage doesn't work on NPCs? - jamesbond007 - 01.04.2012

because npc's are not Players


Re: OnPlayerGiveDamage and OnPlayerTakeDamage doesn't work on NPCs? - robintjeh - 01.04.2012

Then make it sync hits for a player. Please?


Re: OnPlayerGiveDamage and OnPlayerTakeDamage doesn't work on NPCs? - davve95 - 01.04.2012

Quote:
Originally Posted by lolumadd_
Посмотреть сообщение
Isn't a bug but this should be added!
Quote:
Originally Posted by boelie
Посмотреть сообщение
+1000 hell this should be added big time!
Agrees! ..


Re: OnPlayerGiveDamage and OnPlayerTakeDamage doesn't work on NPCs? - MP2 - 01.04.2012

On top of this, NPCs should be able to die. I mean, they're pretty useless at the moment, they just stand there, walk around a path or drive around the path. The NPCs in 0.2.5 looked fantastic, and it's a shame they had to be removed. It's been 4 versions since the NPCs were added (0.3a - 0.3e), and NOTHING has changed.


Re: OnPlayerGiveDamage and OnPlayerTakeDamage doesn't work on NPCs? - Slice - 11.08.2013

Why has this not been added yet? :/


Re: OnPlayerGiveDamage and OnPlayerTakeDamage doesn't work on NPCs? - QuaTTrO - 11.08.2013

Maybe the NPCs functions will be changed in 0.4


Re : OnPlayerGiveDamage and OnPlayerTakeDamage doesn't work on NPCs? - HitnKill - 11.08.2013

And we can SetPlayerTeam an NPC For players ? (Anti TK)