AMX Mod X API Documentation

Signature
native Float:floatatan2(Float:x, Float:y, {anglemode, _}:radix);
Description

Computes the principal value of arctangent of y/x

Notes
  • Someone should verify this native, not sure what it actually does.
  • For available units of measurements(modes) look at the anglemode enum
Parameters
  • x Value representing the proportion of the x-coordinate.
  • y Value representing the proportion of the x-coordinate.
  • mode What unit of measurement should the output angle be in
Returns

Arctangent of y/x

Назад
Верх