16.04.2011, 04:31
Doesn't GetDistanceBetweenPoints return a float? Try:
pawn Code:
new Float:Distance1 = GetDistanceBetweenPoints(PX, PY, PZ, vehx, vehy, vehz);
new Float:Distance2 = GetDistanceBetweenPoints(PX, PY, PZ, vehx2, vehy2, vehz2);
new Float:Distance3 = GetDistanceBetweenPoints(PX, PY, PZ, vehx3, vehy3, vehz3);