Scripting/Client/Functions/VectorScreen

Two-number classes used for GUI positions and sizes (.x, .y).

Syntax

VectorScreen(x, y)
ScreenSize(w, h)
Vector2D(x, y)

Arguments

Example

function onScriptLoad()
{
	local pos = player.Pos;
	VectorScreen( pos.x, pos.y );
}

This sample was generated from the signature – adapt the values to your gamemode.

Section: Utility

Categories: Client functions | Utility