Garry's Mod Wiki

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.

Page Links


Special Pages


Wikis

?

Render Time: 30ms

DB GetPage 4
Generate Html 2
SaveChanges (1) 10
Render Body 0
Render Sidebar 12