Jump to content

i have a question.


iiv03

Recommended Posts

I want a process for this rule please

		local screenW, screenH = guiGetScreenSize()
        Infernuspanel.window[1] = guiCreateWindow((screenW - 541) / 2, (screenH - 189) / 2, 541, 189, "Infernus Panel", false)

 

I know the process 

 

1280/345= 3.710449

720/115=6.26086

	screenWidth, screenHeight = guiGetScreenSize()
	scale = (screenWidth/1280)*(screenHeight/720)
        Infernuspanel.window[1]= guiCreateWindow(screenWidth/4, screenHeight/6.79245, screenWidth/1.99376, screenHeight/1.46639, false)

 

 

but its not work and i want process up 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...