SA-MP Forums Archive
Small System With 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: Small System With NPCs (/showthread.php?tid=293995)



Small System With NPCs - Scenario - 30.10.2011

I am trying to create a small script, but I have run into two problems.

1. I need a single NPC to spawn somewhere at random (say within a 5000 meter radius from each other). Of course, they need to be in reasonable places (i.e. not on a roof).

2. I need to be able to drive up next to them and have them enter my vehicle as a passenger.

If you are able to assist me in doing this, or give me a basic explanation on how to, that would be great. Otherwise, please don't troll my thread thank you kindly.