Garry's Mod Wiki

Vector:Set

Vector:Set

Vector:Set( Vector vector )

Description

Copies the values from the second vector to the first vector.

Arguments

1 Vector vector
The vector to copy from.

Example

Sets vector B to vector A's value.

a = Vector(1, 2, 3) b = Vector() b:Set(a) print(b)
Output: 1, 2, 3.

Special Pages


Wikis

?

Render Time: 20ms

DB GetPage 3
Generate Html 2
SaveChanges (1) 6
Render Body 0
Render Sidebar 7