Garry's Mod Wiki

Vector:Random

Vector:Random

  Vector:Random( number min = -1, number max = 1 )

Just Added

This was just added in the latest version (2021.12.15). It might only be available on the Dev Branch right now.

Description

Randomizes each element of this Vector object.

Arguments

1 number min = -1
The minimum value for each component.
2 number max = 1
The maximum value for each component.

Special Pages


Wikis

?

Render Time: 49ms

DB GetPage 27
Generate Html 3
SaveChanges (1) 7
Render Body 0
Render Sidebar 8