SA-MP Forums Archive
Make the train move alone - Is it possible ? - 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: Make the train move alone - Is it possible ? (/showthread.php?tid=341214)



Make the train move alone - Is it possible ? - tal_peretz - 09.05.2012

I tried to use this -
PHP код:
SetVehicleVelocity(Carid100100100); 
And not move at all, I tried to put NPC Bot in the train and also not move, there is other way ?

I want to make the train drive alone .. set the speed and it go alone ..

Thanks


Respuesta: Make the train move alone - Is it possible ? - admantis - 09.05.2012

Why don't you make a recording of the NPC driving the train tracks? (well there's already one coming with the SA:MP server package).


Re: Respuesta: Make the train move alone - Is it possible ? - tal_peretz - 10.05.2012

Quote:
Originally Posted by admantis
Посмотреть сообщение
Why don't you make a recording of the NPC driving the train tracks? (well there's already one coming with the SA:MP server package).
smart :X

anyway .. there are no other why ?

and how can I set when the Train start to drive ? there is a function for that? or just connect the Bot when I need he start ?

And how I make the train stop driving? [disconnect the bot from the server]


Re: Make the train move alone - Is it possible ? - Marco_Valentine - 10.05.2012

connect the npc in your script when gamemode initiates then when you want to you can kick the npc whenever


Re: Make the train move alone - Is it possible ? - tal_peretz - 10.05.2012

just kick ? ok ...

Last thing - There is a way to do that there id won't be 0? it will start from the end? [500.. 499]


Thanks


Re: Make the train move alone - Is it possible ? - admantis - 11.05.2012

I'm affraid you can't.