Custom player spawning
#4

Quote:
Originally Posted by Micius
Посмотреть сообщение
Did you even read what i wrote?
Maybe he didn't. HOWEVER, I won't be giving you the code, because it's just long I guess, I mean it's not hard, but it needs a little bit of work put into it. FIRST, you need an NPC driving a train(you record the route, you stop at whatever station/point you wish). You need a function to get the train's speed, because if a player connects, and immediatly 1 min or so later another one does, he won't have to wait for the train, but he will get teleported inside it, and stop at the station togheter with the other player. About the camera, you may attach it to the vehicle at a point above the train and change its angle, that is absolutely up to your wish. SO, yeah, that's all. When you get at the station, check the train's speed, and if it's ), just eject the player. USEFUL link:

https://sampwiki.blast.hk/wiki/Category:NPC
Reply


Messages In This Thread
Custom player spawning - by Micius - 09.07.2013, 08:39
Re: Custom player spawning - by Yordan_Kronos - 09.07.2013, 11:49
Re: Custom player spawning - by Micius - 09.07.2013, 13:26
Re: Custom player spawning - by Cjgogo - 09.07.2013, 13:33
Re: Custom player spawning - by Micius - 09.07.2013, 13:45
Re: Custom player spawning - by Cjgogo - 09.07.2013, 13:47
Re: Custom player spawning - by Micius - 09.07.2013, 13:49

Forum Jump:


Users browsing this thread: 1 Guest(s)