Scripting/Squirrel/Client Functions/GUI::GetScreenSize
Jump to navigation
Jump to search
This wiki is using an old backup from 2020
Some information may be old/missing
Syntax
void GUI::GetScreenSize()
Arguments
- integer position This is the number of player screen size, must be a integer.
Example
sX <- GUI.GetScreenSize().X;
sY <- GUI.GetScreenSize().Y;
function Script::ScriptLoad()
{
Console.Print("[#FFFFFF]Your resolution is: " + sX + "x" + sY + ".");
}
Notes
none