Files
wnsrc/lua/includes/extensions/client/globals.lua
lifestorm ba1fc01b16 Upload
2024-08-04 23:12:27 +03:00

25 lines
451 B
Lua

--[[
| This file was obtained through the combined efforts
| of Madbluntz & Plymouth Antiquarian Society.
|
| Credits: lifestorm, Gregory Wayne Rossel JR.,
| Maloy, DrPepper10 @ RIP, Atle!
|
| Visit for more: https://plymouth.thetwilightzone.ru/
--]]
if ( SERVER ) then return end
function ScreenScale( width )
return width * ( ScrW() / 640.0 )
end
function ScreenScaleH( height )
return height * ( ScrH() / 480.0 )
end
SScale = ScreenScale