SA-MP Forums Archive
attack NPCs? - 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: attack NPCs? (/showthread.php?tid=290050)



attack NPCs? - DaRkAnGeL[NBK] - 14.10.2011

hey how can i use SetNPCAttackPlayer(npcid, playerid, weapon); to attack players who attack them ? i wanna use this in a TDM game mode can anyone help?


Re: attack NPCs? - grand.Theft.Otto - 14.10.2011

1. SetNPCAttackPlayer isn't a valid function
2. It's difficult to make an NPC attack someone
3. Search for NPC attack filterscript/includes


Re: attack NPCs? - DaRkAnGeL[NBK] - 14.10.2011

thank you