AMX Mod X API Documentation

Signature
stock xs_vec_mul_scalar(const Float:vec[], Float:scalar, Float:out[]){ out[0] = vec[0] * scalar; out[1] = vec[1] * scalar; out[2] = vec[2] * scalar;}
Description

Multiply a vector by a scalar value.

Parameters
  • vec The vector to be multiplied.
  • scalar The scalar value to multiply the vector with.
  • out The output vector. Can be the same as the input vector.
No return value
Назад
Верх