AMX Mod X API Documentation

Signature
native velocity_by_aim(iIndex, iVelocity, Float:vRetValue[3]);
Description

Calculates velocity in the direction player is looking.

Parameters
  • iIndex Client index
  • iVelocity Multiply vRetValue length by this much
  • vRetValue Store the calculated velocity in this vector.
No return value
Errors
  • If client is not connected or client index is not

    within the range of 1 to MaxClients.

Назад
Верх