Functions

vector.inc

amxmodx 1.8.2 hg65

Function Type Description
angle_vector native Changes an angle vector into a vector.
get_distance native Returns distance between two vectors.
get_distance_f native Gets distance between two origins (float).
vector_distance native Gets the distance between 2 vectors (float[3]).
vector_length native Gets the length of a vector (float[3]).
vector_to_angle native Changes a vector into an angle vector.
velocity_by_aim native Gives you a velocity in the direction a player is looking, iVelocity is the multiplier.
FVecIVec stock Changes a float vec to an integer vec
IVecFVec stock Changes an integer vec to a floating vec
This is not a for loop because that's slower