SA-MP Forums Archive
[HELP]NPC Problem in SAMP - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP]NPC Problem in SAMP (/showthread.php?tid=112226)



[HELP]NPC Problem in SAMP - DJDhan - 06.12.2009

Hey,
I have a problem making an npc to drive a train route i recorded from ls to ls
I added the lines in the filterscript...

Код:
 if(!strcmp(playername, "TrainDriverLStoLS", true))
  {
      PutPlayerInVehicle(playerid, traindriverlstolsvehicle, 0);
      return 1;
  }
All the npcs work but this npc just spawns and stands there.
Any idea how to put this guy in the train??He doesn't seem to get in the train at all!!

Pls Help!!

Or simply how to make an npc train drive in the recorded track?


Re: [HELP]Train in SAMP pls..pls - DJDhan - 06.12.2009

Oh man i frustated .
If i use any car in place of train id (53 it animates the car going around the track but the train does not go around.
Help?
Anything??


Re: [HELP]NPC Problem in SAMP - DJDhan - 06.12.2009

Looks like noone know about this
Whtvr


Re: [HELP]NPC Problem in SAMP - DeathOnaStick - 06.12.2009

I had this problem, too.. but forgot how to solve it.

#EDIT#: Why not putting it into 0.3 scripting section?


Re: [HELP]NPC Problem in SAMP - DJDhan - 06.12.2009

Yeah i'll try
Thanx anyways


Re: [HELP]NPC Problem in SAMP - DJDhan - 06.12.2009

Yo i posted it there yesterday and i got the answer...only to put the npc in the train