xs_vec_distance

Syntax

stock Float:xs_vec_distance(const Float:vec1[], const Float:vec2[])

Usage

vec1
First vector.
vec2
Second vector.

Description

Computes the distance between two vectors (points).

Return

The distance between two vectors.