Перейти к содержанию

Vector3::min

Материал из RAGE MP Wiki Archive
Версия от 06:38, 31 мая 2019; imported>Micaww (Created page with "This function returns the minimum partial of a Vector3. ==Syntax== <pre> vector.min(); </pre> == Returns == * {{RageType|number}} The minimum. ==Example== {{ServersideCod...")
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

This function returns the minimum partial of a Vector3.

Syntax

vector.min();

Returns

  • number The minimum.

Example

Server-Side
const vec1 = new mp.Vector3(10, 30, 100);

const minimum = vec1.min(); // maximum = 10

See Also