SA-MP Forums Archive
NPC outside lanes - 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: NPC outside lanes (/showthread.php?tid=291642)



NPC outside lanes - LeNy - 20.10.2011

Hello. Is it possible to record your route by car NPC, then put him on the train and the train he was driving by recording?


Re: NPC outside lanes - [MWR]Blood - 20.10.2011

No.
You will need 2 NPCs - one driving the car and the other one driving the train.


Re: NPC outside lanes - LeNy - 20.10.2011

So the train will not be able to go off track?


Re: NPC outside lanes - Kostas' - 20.10.2011

Do you mean to record a NPC with car and then put it on a train to follow the path, you have record. If yes then you can. Just add the vehicleid
pawn Код:
NPC_NameVehicle = CreateVehicle(411, 0.0, 0.0, 5.0, 0.0, 3, 3, 5000);
411 = Infernus, change to the id you want