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
- float x
- float y
- any w
- any h
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.
Related pages
Section: Utility
Categories: Client functions | Utility