SA-MP Forums Archive
Solved! - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Solved! (/showthread.php?tid=120598)



Solved! - notec100 - 11.01.2010

Solved!

I would like to make a simple /unflip command, but I am not sure how to go about it being that you need to flip the car lol. I have searched here and ****** and found nothing but cheats(lame)... Could someone please explain to me how I would need to do this? Thank you in advance!


Re: Help Please - Finn - 11.01.2010

In 0.2x you could flip the car by setting it's facing angle, not sure if it's working in 0.3.

pawn Код:
new Float:z,
  vehicle = GetPlayerVehicleID(playerid);

GetVehicleZAngle(vehicle, z);
SetVehicleZAngle(vehicle, z);



Re: Help Please - notec100 - 11.01.2010

Quote:
Originally Posted by Finn
In 0.2x you could flip the car by setting it's facing angle, not sure if it's working in 0.3.

pawn Код:
new Float:z,
  vehicle = GetPlayerVehicleID(playerid);

GetVehicleZAngle(vehicle, z);
SetVehicleZAngle(vehicle, z);
Thank you so much it worked! I learned something new today! Thank you again!