SA-MP Forums Archive
Question, NPC's - 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: Question, NPC's (/showthread.php?tid=416535)



Question, NPC's - faff - 17.02.2013

I had a little question.
I've been working on a npc last days.
Anti cheat etc.
But ehm.
Is it possible, to let an npc kill an normal player,
if the normal player attacks the npc?


Re: Question, NPC's - reckst4r - 17.02.2013

Well, it's not possible to make it shoot/hit the player who's attacking it. You might be able to make it follow the player, and use a timer to make the player for example loose 10 hp per sec