View Single Post
cREANy0
SourceMod Donor
Join Date: Jul 2012
Location: Germany
Old 03-30-2014 , 14:01   Re: [CS:GO] ShowMOTDPanel
Reply With Quote #55

Quote:
Originally Posted by Ejziponken View Post
Maybe a stupid question, but is there a way to get the window autofit the players resulution/screen?
Having reports that they cant see the corners and can therefor not close the window ingame.
Yes, you can.
If you use this way:
https://forums.alliedmods.net/showpo...3&postcount=33

You can simple edit the html file
Code:
<html>
<head>
<script type="text/javascript">
window.onload = function(){
    var popup=window.open("http://www.sourcemod.net/sourcemod-site-bounded.png","Test Page :D","height=60,width=393");
};
</script>
</head>
<body>
</body>
</html>

greetz cREANy0
__________________
cREANy0 is offline