21.06.2010, 19:40
Is it possible to reverse a players facing angle, so they are facing opposite direction? Like if they're facing N then they'd face S.
stock ReversePlayerDirection(playerid)
{
new Float:a;
GetPlayerFacingAngle(playerid,a);
if(a < 180) SetPlayerFacingAngle(playerid,a+180);
else SetPlayerFacingAngle(playerid,a-180);
}