mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-17 21:53:46 +03:00
Upload
This commit is contained in:
24
lua/includes/extensions/client/globals.lua
Normal file
24
lua/includes/extensions/client/globals.lua
Normal file
@@ -0,0 +1,24 @@
|
||||
--[[
|
||||
| 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
|
||||
Reference in New Issue
Block a user