SA-MP Forums Archive
Cop chase - 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: Cop chase (/showthread.php?tid=495279)



Cop chase - Julius95 - 16.02.2014

Would it be possible to script a cop(car) which chases you? which tries to for example ram you and block you.?


Re: Cop chase - Lordzy - 16.02.2014

It's possible. Have a look at RNPC or FCNPC plugin. Also, there's a plugin called "PathFinder" which could determine the position of the player and get it worked accordingly.


Re: Cop chase - Golimad - 16.02.2014

Quote:
Originally Posted by Lordz™
Посмотреть сообщение
It's possible. Have a look at RNPC or FCNPC plugin. Also, there's a plugin called "PathFinder" which could determine the position of the player and get it worked accordingly.
Does it prevent those NPCs from driving through trees, walls and everything ?


Re: Cop chase - Lordzy - 16.02.2014

Quote:
Originally Posted by Golimad
Посмотреть сообщение
Does it prevent those NPCs from driving through trees, walls and everything ?
I'm not sure about that, you might need to check those plugins well to clarify about it.