02.01.2013, 11:21 
	
	
	PHP код:
stock SetPlayerFacingAngleToPoint(playerid,Float:X, Float:Y){
   new Float: Pos[2];
   GetPlayerPos(playerid, Pos[0], Pos[1], 0);
   return SetPlayerFacingAngle(playerid,180.0-atan2(Pos[0]-X,Pos[1]-Y));
} 
