Angles/Headings
#11

Quote:
Originally Posted by Joe_
Посмотреть сообщение
Ok, so..

Usually, I use GetPlayerFacingAngle to get a players heading, I face easterly, and it returns 90.0, which is correct.
However, today, it says 270.0 when I face easterly, and 90.0 when I face westerly. No code change, and it's not a problem with my code.

pawn Код:
new Float:Angle;
GetPlayerFacingAngle(playerid, Angle);
format(str, sizeof(str), "Your heading is: %f", Angle);
SendClientMessage(playerid, 0xFFFFFFFF, str);
360.0/0.0 is North. 90.0 is East. 180.0 is South. 270.0 is West.

Why does it say 270.0 is East, and 90.0 is West?
It is just how it is, Not to be rude or anything but you will get used to it .
Reply


Messages In This Thread
Angles/Headings - by Joe_ - 21.08.2011, 16:43
Re: Angles/Headings - by philldog - 21.08.2011, 16:47
Re: Angles/Headings - by =WoR=G4M3Ov3r - 21.08.2011, 16:49
Re: Angles/Headings - by Joe_ - 21.08.2011, 16:51
Re: Angles/Headings - by philldog - 21.08.2011, 16:52
Re: Angles/Headings - by Joe_ - 21.08.2011, 16:53
Re: Angles/Headings - by Wesley221 - 21.08.2011, 16:54
Re: Angles/Headings - by philldog - 21.08.2011, 17:02
Re: Angles/Headings - by Joe_ - 21.08.2011, 17:04
Re: Angles/Headings - by Babul - 21.08.2011, 17:33
Re: Angles/Headings - by Improvement™ - 21.08.2011, 18:24

Forum Jump:


Users browsing this thread: 2 Guest(s)