SA-MP Forums Archive
Why I can't drive or enter tram? - 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: Why I can't drive or enter tram? (/showthread.php?tid=371387)



Why I can't drive or enter tram? - kbalor - 23.08.2012

Is tram like an RC vehicle or like a normal vehicle??


Re: Why I can't drive or enter tram? - clarencecuzz - 23.08.2012

It is like a normal vehicle, it's SUPPOSED to hold 6 players or some crap like that, but it will only hold 2 max really :S You CAN enter trams, one driver, and one passenger. It doesn't look right, but if you are trying to enter a tram, you might want to make sure that it isn't locked.

NOTE: Trams can only run on railway or tram lines, such as the ones found in San Fierro.


Re: Why I can't drive or enter tram? - JaKe Elite - 23.08.2012

Well there is one weird thing, when i spawned a vehicle using /v, it automaticlly puts it in railway.


Re: Why I can't drive or enter tram? - clarencecuzz - 23.08.2012

"NOTE: Trams can only run on railway or tram lines, such as the ones found in San Fierro."


Re: Why I can't drive or enter tram? - kbalor - 23.08.2012

Quote:
Originally Posted by clarencecuzz
Посмотреть сообщение
It is like a normal vehicle, it's SUPPOSED to hold 6 players or some crap like that, but it will only hold 2 max really :S You CAN enter trams, one driver, and one passenger. It doesn't look right, but if you are trying to enter a tram, you might want to make sure that it isn't locked.

NOTE: Trams can only run on railway or tram lines, such as the ones found in San Fierro.
There is no tram in San Fierro so basically I made a tram in front of Wang Cars.. After I do F key or Enter. It's doesn't work no entering animations or movements..

Код:
OnGameModeInt
CreateVehicle(449,-1986.5049,129.1749,27.3299,359.6938,-1,-1,60000);



Re: Why I can't drive or enter tram? - kbalor - 23.08.2012

Quote:
Originally Posted by Romel
Посмотреть сообщение
Well there is one weird thing, when i spawned a vehicle using /v, it automaticlly puts it in railway.
And I think there is another one when you enter the tram and spawn vehicle, the tram actually destroyed That's what people said.


Re: Why I can't drive or enter tram? - clarencecuzz - 23.08.2012

When I said San Fierro I was referring to single player. Make sure you use SetVehicleParamsEx to make sure the vehicle is unlocked. Because trams are definitely enterable.


Re: Why I can't drive or enter tram? - kbalor - 23.08.2012

Quote:
Originally Posted by clarencecuzz
Посмотреть сообщение
When I said San Fierro I was referring to single player. Make sure you use SetVehicleParamsEx to make sure the vehicle is unlocked. Because trams are definitely enterable.
Man can you help me with this? How to SetVicleParamsEx (Unlocked)for tram?