Raised This Month: $ Target: $400
 0% 

Disable default MOTD


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 06-13-2014 , 22:30   Re: Disable default MOTD
Reply With Quote #1

cvar: motdfile >= "" (Default: motdfile "motd.txt");
Or simply delete the content of the motd.txt file (NOT THE FILE!)

Worked to me, but in this hlds version this will crash the server (for me, a time ago) i not tested in actually days.

Test and post the results here to us

After do this, create a simple menu to show to your clients
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 

Last edited by ^SmileY; 06-13-2014 at 22:30.
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
aron9forever
Veteran Member
Join Date: Feb 2013
Location: Rromania
Old 06-14-2014 , 05:40   Re: Disable default MOTD
Reply With Quote #2

Quote:
Originally Posted by ^SmileY View Post
cvar: motdfile >= "" (Default: motdfile "motd.txt");
Or simply delete the content of the motd.txt file (NOT THE FILE!)

Worked to me, but in this hlds version this will crash the server (for me, a time ago) i not tested in actually days.

Test and post the results here to us

After do this, create a simple menu to show to your clients
he's talking about team join motd, not server motd upon joining
__________________
Meanwhile, in 2050:
Quote:
Originally Posted by aron9forever
useless small optimizations
Quote:
Originally Posted by Black Rose View Post
On a map that is 512x512x128 units you end up with 3,355,443,200,000 different "positions". To store each one of those positions individually in the variable "user_or" you need 12 terabytes of memory.
aron9forever is offline
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 06-14-2014 , 11:43   Re: Disable default MOTD
Reply With Quote #3

Quote:
Originally Posted by aron9forever View Post
he's talking about team join motd, not server motd upon joining
Soo is not a MOTD is a menu omg, search already made by someone
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
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 21:15.


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