18.02.2015, 11:50
You just want to get the angle between two points than use that
pawn Код:
stock Float: GetAngle(Float: X1, Float: Y1, Float: X2, Float: Y2) // player - target
return -atan2(X2 - X1, Y2 - Y1); // returns values between (180.0) and (-180.0)