getApp
API - returns the App class which gives access to a group of functions and properties related to SA application.
return function()
local app = getApp();
app.setResolution(900, 900); --sets the app window resolution to 900 by 900
end
Last updated