[HELP]How I can do for them to get on the train more than one passenger?
#1

Hi!
I have put a train on my server, but can only get on the train driver and one passenger. Can not get on the train more than one passenger. How I can do for them to get on the train more than 2 or 3 passengers?

Thanks
Reply
#2

The vehicle object "Train" get only get 1 passenger. In Singlepalyer, in GTA San Andreas SAMP everywhere.
Passengers can get on the Train Behind if you understand..
Reply
#3

Quote:
Originally Posted by Flashy
The vehicle object "Train" get only get 1 passenger. In Singlepalyer, in GTA San Andreas SAMP everywhere.
Passengers can get on the Train Behind if you understand..
I have seen servers where, on a train had 12 passengers inside of it.

On my server when I write / veh 538 0 0, the train does not appear in the Railroads. But if I write / veh 449 0 0, the tram does appear in the Railroads, but you can only get on the tram only passenger. And when the tram appear in the Railroads of SF, I can not get on as a driver.
Reply
#4

Well I never saw or know that Afaik, I canґt help you cause I am too busy now
Hope anyone help you!
Reply
#5

Quote:
Originally Posted by Manuel_Luna
Quote:
Originally Posted by Flashy
The vehicle object "Train" get only get 1 passenger. In Singlepalyer, in GTA San Andreas SAMP everywhere.
Passengers can get on the Train Behind if you understand..
I have seen servers where, on a train had 12 passengers inside of it.

On my server when I write / veh 538 0 0, the train does not appear in the Railroads. But if I write / veh 449 0 0, the tram does appear in the Railroads, but you can only get on the tram only passenger. And when the tram appear in the Railroads of SF, I can not get on as a driver.
Because the Vehicle system does the job with CreateVehicle();. Remember to use AddStaticVehicle(); when you spawn a train.
Reply
#6

I use AddStaticVehicleEx(......
Reply
#7

Use AddStaticVehicle for train.
When you add a train with AddStaticVehicle, people can actually sit in as passenger because when you add the "train model id" in the AddStaticVehicle, not only the engine, but the whole train with three or four compartments are attached to it by default.

Train Model ID - 538
Reply
#8

Quote:
Originally Posted by DJDhan
Use AddStaticVehicle for train.
When you add a train with AddStaticVehicle, people can actually sit in as passenger because when you add the "train model id" in the AddStaticVehicle, not only the engine, but the whole train with three or four compartments are attached to it by default.

Train Model ID - 538
Trains only can be created by using AddStaticVehicle ¬_¬

You might wish to experiment with OnPlayerKeyStateChange
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)