SA-MP Forums Archive
Turn player around [simple question] - 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: Turn player around [simple question] (/showthread.php?tid=192614)



Turn player around [simple question] - Lars_Frederiksen - 23.11.2010

I was just wondering when I

Код:
GetPlayerFacingAngle(playerid,pA);
What would the code to turn the player completely around?

Would it be?

Код:
GetPlayerFacingAngle(playerid,pA+180);
Because I tried it and it just made my screen get all messed up.

Thanks.


Re: Turn player around [simple question] - Retardedwolf - 23.11.2010

Because if a player's angle is more than 360 it will obviously fuck up.


Re: Turn player around [simple question] - Lars_Frederiksen - 23.11.2010

I figured it out, Please delete.