SA-MP Forums Archive
[HELP] The tram is driving on the wrong street side! - 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: [HELP] The tram is driving on the wrong street side! (/showthread.php?tid=404308)



[HELP] The tram is driving on the wrong street side! - Pasa - 02.01.2013

I am trying to make a tram driver job but i have the problem when i spawn the tram the tram is wrong rotated (like i am driving the tram on the wrong road side)!

i try to rotate the Tram with the "rotate" comand but nothing hapends :S!

Please help!

picture : http://zaslike.com/files/2ex7jv8pedfmdxs3e71l.png

PHP Code:
CMD:tram(playerid,params[])
{
    
Tramvaj[playerid] = AddStaticVehicleEx(449,-2264.8999023,534.9000244,35.5000000,180.0,0,0,150); //Tram
    
PutPlayerInVehicle(playerid,Tramvaj[playerid],0);
    return 
1;
}
CMD:rotate(playerid,params[])
{
    new 
Floato;
     if(
sscanf(params,"f",o)) return 1;
    
SetVehicleZAngle(GetPlayerVehicleID(playerid),o);
    return 
1;




Re: [HELP] The tram is driving on the wrong street side! - Mr.Anonymous - 02.01.2013

Then why not make job from wrong lane?


Re: [HELP] The tram is driving on the wrong street side! - Pasa - 02.01.2013

Quote:
Originally Posted by Mr.Anonymous
View Post
Then why not make job from wrong lane?
I am trying to make a good RP script!

How it started that will be on the end :S :/