SF tram spawn problem
#1

So,the problem is that when I spawn a tram(on game mode init),no matter if I set the spawn angle to 0.0 or 180.0,it always spawns facing the same direction.Is there a way to spawn it facing the opposite direction? Im sure its possible for other train types,but is it possible for the tram(vehicle model 449).
Reply
#2

well
AddStaticVehicle(411,111.11,222.22,333.33,FACING ANGEL,0,0);
so you have to set it yourself
Reply
#3

Quote:
Originally Posted by BGTrucker
Посмотреть сообщение
So,the problem is that when I spawn a tram(on game mode init),no matter if I set the spawn angle to 0.0 or 180.0,it always spawns facing the same direction.Is there a way to spawn it facing the opposite direction? Im sure its possible for other train types,but is it possible for the tram(vehicle model 449).
Trams will only spawn on tracks if I'm not mistaken.
Reply
#4

no, it's on gta sa only but in samp mode you have to do it by yourself
Reply
#5

Add this Line

Код:
Tram = AddStaticVehicle(449,-2001.1250,560.7548,35.4973,180.0000,1,74); // /tram

PutPlayerInVehicle(playerid, Tram, 0);
Reply
#6

he needs to define "Tram" First , at the top of the script:

new Tram;
Reply
#7

Quote:
Originally Posted by Eth
Посмотреть сообщение
he needs to define "Tram" First , at the top of the script:

new Tram;
Hell, if you're making more than one tram, may I suggest using an array?

new tram[10];
Reply
#8

Damn,are you all falling from Mars ?
First,I know how to add static vehicle,
Second,I know trains/trams only spawn on train tracks,
and Third,I did not ask how to put player in vehicle.
I simply asked is it possible to make the tram spawn facing the opposite direction since both angle 180 and 0 spawn it facing the same direction.
Reply
#9

Omg these guys are just posting shitty posts to get more posts,by the way,trains and trams can ONLY spawn at tracks,because you cant drive train or tram like a normal vehicle
Reply
#10

You just did the same as the guys above you.
I wanna know is it possible to make the tram spawn facing the opposite direction on the tram tracks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)