Raised This Month: $51 Target: $400
 12% 

Different MOTDs


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Cader
Senior Member
Join Date: Mar 2007
Old 05-17-2009 , 19:20   Different MOTDs
Reply With Quote #1

Hello.

Is it possible to use different "motd.txt" for differen resolutions?

Forexample, if the player uses 1024x768 for resolution of cs, then motd.txt will be used. If he uses 800x600, motd_800.txt will be in use.

I want something like this coz my motd looks well for 1024, but craziest for 800x600. So I want to use 2 files according to players resolution.
Cader is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-18-2009 , 02:29   Re: Different MOTDs
Reply With Quote #2

I think your best bet is to search for webscripting methods of doing this since it is, infact, just a web browser. If that won't work, I suggest using an "auto-adjusting" method such as using CSS with percentages as widths and such.
__________________
fysiks is offline
Sn!ff3r
Veteran Member
Join Date: Aug 2007
Location: Poland
Old 05-18-2009 , 21:08   Re: Different MOTDs
Reply With Quote #3

You cant detect player screen resoultion.
__________________
Join US - custom Zombie Server - Custom Addons:



Sn!ff3r is offline
Send a message via Skype™ to Sn!ff3r
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:14.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode