AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How to disable motd? (https://forums.alliedmods.net/showthread.php?t=174285)

kiki33hun 12-18-2011 09:56

How to disable motd?
 
How to disable motd?

drekes 12-18-2011 11:25

Re: How to disable motd?
 
remove motd.txt from your server's cstrike directory.

kiki33hun 12-18-2011 11:35

Re: How to disable motd?
 
^^,
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

xPaw 12-18-2011 14:11

Re: How to disable motd?
 
set_msg_block( get_user_msgid( "MOTD" ), BLOCK_SET );

That's better.


All times are GMT -4. The time now is 11:56.

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