SA-MP Forums Archive
how to activate NPC train_ls train_sf and train_lv? - 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: how to activate NPC train_ls train_sf and train_lv? (/showthread.php?tid=397646)



how to activate NPC train_ls train_sf and train_lv? - Ben_Hatfield - 06.12.2012

i am trying to activate the npc's train_ls train_sf and train_lv that come in the 0.3e package for my server but im not really sure how. im not the most advanced scripter as you can tell so any help would help. thanks.


Re: how to activate NPC train_ls train_sf and train_lv? - RajatPawar - 06.12.2012

In your gamemode, use 'ConnectNPC("Train driver","train_sf");
And so on.
There are these predefined routes recorded in the 'npcmodes' folder in your server. If you will see, 'train_sf' is a predefined recording in that folder. If you want to record a new route, load the 'npc_record' filterscript and record using /vrecord and /stoprecord.


Re: how to activate NPC train_ls train_sf and train_lv? - Ben_Hatfield - 06.12.2012

Quote:
Originally Posted by Rajat_Pawar
Посмотреть сообщение
In your gamemode, use 'ConnectNPC("Train driver","train_sf");
And so on.
There are these predefined routes recorded in the 'npcmodes' folder in your server. If you will see, 'train_sf' is a predefined recording in that folder. If you want to record a new route, load the 'npc_record' filterscript and record using /vrecord and /stoprecord.
ok, thanks man i think it worked.