Raised This Month: $ Target: $400
 0% 

How to disable motd?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kiki33hun
Veteran Member
Join Date: Jul 2011
Location: Magyarország
Old 12-18-2011 , 09:56   How to disable motd?
Reply With Quote #1

How to disable motd?
__________________
kiki33hun is offline
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 12-18-2011 , 11:25   Re: How to disable motd?
Reply With Quote #2

remove motd.txt from your server's cstrike directory.
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
kiki33hun
Veteran Member
Join Date: Jul 2011
Location: Magyarország
Old 12-18-2011 , 11:35   Re: How to disable motd?
Reply With Quote #3

^^,
Quote:
register_message(get_user_msgid("MOTD"), "message_MOTD");

public message_MOTD(const MsgId, const MsgDest, const MsgEntity)
{
if(!nemkell[MsgEntity])
{
if(get_msg_arg_int(1) == 1)
{
nemkell[MsgEntity] = true
return PLUGIN_HANDLED
}
}
return PLUGIN_CONTINUE
}
Closed
__________________
kiki33hun is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 12-18-2011 , 14:11   Re: How to disable motd?
Reply With Quote #4

set_msg_block( get_user_msgid( "MOTD" ), BLOCK_SET );

That's better.
__________________
xPaw is offline
Reply


Thread Tools
Display Modes

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 11:56.


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