Scripting/Squirrel/Client Functions/GUI::GetScreenSize: Difference between revisions
Jump to navigation
Jump to search
This wiki is using an old backup from 2020
Some information may be old/missing
(Created page with "== Syntax == <pre>void GUI::GetScreenSize()</pre> == Arguments == * '''integer''' '''position''' This is the number of player screen size, must be a integer. == Example ==...") |
(No difference)
|
Latest revision as of 15:47, 16 July 2017
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