02.01.2013, 17:10
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
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 Float: o;
if(sscanf(params,"f",o)) return 1;
SetVehicleZAngle(GetPlayerVehicleID(playerid),o);
return 1;
}