Control NPCs using Paths?
#1

Hi,

is there a way to control NPCs using the San Andreas paths (e.g. by using Gamer_Z's GPS Plugins)?

I want to make some public driving services like taxis. If you enter the car you should be able to select a target where the taxi should drive to.

Some ideas?
Reply
#2

I'm sure I saw a FS with NPC's following the San Andreas nodes, almost asif you're in singleplayer as everything was re-created with NPC's. However I can't find it :/ But you probably could do this
Reply
#3

My first idea was to control the NPC from the gamemode using SetPlayerPos. But that doesn't work...

Another way: SetVehiclePos (Will try it now).

//EDIT: The problem is, I can get the NPC to enter the vehicle using PutPlayerInVehicle. And SetVehicleVelocity only works with occupied vehicles...

Maybe we just need such a feature in the next SA-MP release.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)