SA-MP Forums Archive
npc problem - 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 problem (/showthread.php?tid=412162)



npc problem - mastermax7777 - 01.02.2013

how to add npc as a passenger?


Re: npc problem - Threshold - 01.02.2013

pawn Код:
PutPlayerInVehicle(npcid, 1);
Read http://www.wiki.sa-mp.com/wiki/PutPlayerInVehicle for how it works etc.


Re: npc problem - mastermax7777 - 01.02.2013

Quote:
Originally Posted by BenzoAMG
Посмотреть сообщение
pawn Код:
PutPlayerInVehicle(npcid, 1);
Read http://www.wiki.sa-mp.com/wiki/PutPlayerInVehicle for how it works etc.
doesnt work.. show me a working example with passenger npc

has anyone actually got it working with npc?


Re: npc problem - Basicz - 01.02.2013

There are 2 topics I've found from ******, asking for this, but there seems the problem is not solved yet.
( https://sampforum.blast.hk/showthread.php?tid=121468 || https://sampforum.blast.hk/showthread.php?tid=198206 )

The tutorial below might help you, but it doesn't show how to make NPC to a passenger, only to set the NPC to a driver of a vehicle.
( https://sampforum.blast.hk/showthread.php?tid=170545 )

>> I've never seen a NPC sitting as a passenger before, tho'. Would be nice if it's possible


Re: npc problem - Threshold - 01.02.2013

It should be possible. 0_o
Although, you won't be able to do it if the NPC is playing a recording that you've made or downloaded etc. So make sure there are no recordings running when you do it. (Don't work with NPC's much... but this really should work in my opinion.)