How add train in server?
#1

How add train in server?
Reply
#2

Quote:
Originally Posted by Tommy_CAR
Посмотреть сообщение
How add train in server?
Save a other vehicle on the place where the train should be
(AddStaticVehicle(vehicleid, bla, bla, bla))
Change the vehicle id into the id of the Train..
Reply
#3

I'll explain that better.

It's easier to just 'save' some random car on the tracks where you want the train to spawn. Make sure you line the tires up with the railing... So, you should have the line "AddStaticVehicle(vehicleid, ..., ..., ...)". Where "vehicleid" is, change it to the ID of a train... You SHOULD have a train at the location you saved the other vehicle... Make sense now?
Reply
#4

Now when I put it when I come close to train my game crashes
Reply
#5

something here is not always good to me down for a game where is the problem?

Код:
#include <a_samp>

public OnGameModeInit( )
{
    // Add a train to the game
    AddStaticVehicle(538, 1710.5787, -1953.6858, 13.9973, 269.7458, 0, 0);

    return 1;
}
Reply
#6

Okay, is that all you have in your GM?
Reply
#7

Quote:
Originally Posted by RealCop228
Посмотреть сообщение
Okay, is that all you have in your GM?
I have the Raven's Roleplay GM

Do I need something to add?
Reply
#8

That's your problem right there. That GM is bugged as hell...
Reply
#9

how to add cars to the train?
Reply
#10

Keep repeating the process. Just park a car behind the train and they change the "vehicleid" to the "train car" you want.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)