AMX Mod X API Documentation

Signature
stock bool:xs_vec_equal(const Float:vec1[], const Float:vec2[]){ return(vec1[0] == vec2[0]) && (vec1[1] == vec2[1]) && (vec1[2] == vec2[2]);}
Description

Checks if two vectors are equal.

Notes
  • If you need to check if two vectors are nearly equal,

    take a look at xs_vec_nearlyequal().

Parameters
  • vec1 The first input vector to check.
  • vec2 The second input vector to check.
Returns

1 if vectors are equal, 0 otherwise.

Назад
Верх