Quote:
Originally Posted by Mauzen
Here it is, isnt that hard:
pawn Код:
stock GetMiddlePos(Float:x_1, Float:y_1, Float:x_2, Float:y_2, &Float:x_mid, &Float:y_mid) { x_mid = (x_1 + x_2) / 2; // Arithmetic mean value is all you need y_mid = (y_1 + y_2) / 2; }
|
Ill try this out and post my results (Edit this post), yes calgon, thats what i was looking for.