SF tram spawn problem -
BGTrucker - 31.05.2014
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).
Re: SF tram spawn problem -
Eth - 31.05.2014
well
AddStaticVehicle(411,111.11,222.22,333.33,FACING ANGEL,0,0);
so you have to set it yourself
Re: SF tram spawn problem -
Aerotactics - 31.05.2014
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.
Re: SF tram spawn problem -
Eth - 31.05.2014
no, it's on gta sa only but in samp mode you have to do it by yourself
Re: SF tram spawn problem -
satafinix - 31.05.2014
Add this Line
Код:
Tram = AddStaticVehicle(449,-2001.1250,560.7548,35.4973,180.0000,1,74); // /tram
PutPlayerInVehicle(playerid, Tram, 0);
Re: SF tram spawn problem -
Eth - 31.05.2014
he needs to define "Tram" First , at the top of the script:
new Tram;
Re: SF tram spawn problem -
Aerotactics - 31.05.2014
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];
Re: SF tram spawn problem -
BGTrucker - 31.05.2014
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.
Re: SF tram spawn problem -
R0 - 31.05.2014
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
Re: SF tram spawn problem -
BGTrucker - 31.05.2014
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.