{"hash":"0x66773C92835D0909","ns":"GRAPHICS","name":"GET_SCREEN_RESOLUTION","slug":"GET_SCREEN_RESOLUTION","official":true,"named":true,"luaName":"GetScreenResolution","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"x","type":"int*"},{"name":"y","type":"int*"}],"summary":"Hardcoded to always set x to 1280 and y to 720.","descriptions":[{"source":"alloc8or","format":"text","body":"Hardcoded to always set x to 1280 and y to 720."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0x888D57E407E63624","gtaJhash":"0x29F3572F","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/GRAPHICS/GET_SCREEN_RESOLUTION","markdownUrl":"https://natives.borderlinerp.com/natives/GRAPHICS/GET_SCREEN_RESOLUTION.md","snippets":{"lua":"local x, y = GetScreenResolution()","luaInvoke":"local x, y = Citizen.InvokeNative(0x66773C92835D0909, Citizen.PointerValueInt(), Citizen.PointerValueInt())","js":"const [x, y] = GetScreenResolution();","jsInvoke":"const [x, y] = Citizen.invokeNative('0x66773C92835D0909', Citizen.pointerValueInt(), Citizen.pointerValueInt());","csharp":"var x = new OutputArgument();\nvar y = new OutputArgument();\nFunction.Call((Hash)0x66773C92835D0909, x, y);\n// x.GetResult<int>()\n// y.GetResult<int>()","notes":["Pointer (out) arguments are not passed in Lua/JS: their values are returned after the result, in order."]}}