SA-MP Forums Archive
Guard 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: Guard npcs? (/showthread.php?tid=402112)



Guard npcs? - NicholasA - 25.12.2012

Is it possible to make a npc that just stands still and shoots in front of it?
If yes, how?


Re: Guard npcs? - NicholasA - 25.12.2012

Please guys, i know it's possible in some way


Re: Guard npcs? - lorizz - 25.12.2012

If you mean it shoot when a player come than no
If you mean it shoot somewhere than yes just record the NPC whilte shooting


Re: Guard npcs? - Lordzy - 25.12.2012

Look up RNPC. Or use 'AI Police officer include' which shoots if a player is near. But I suggest to code your own NPC using RNPC.