Raised This Month: $ Target: $400
 0% 

MOTD appear n more


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
jondd
BANNED
Join Date: Oct 2009
Old 10-27-2009 , 03:44   MOTD appear n more
Reply With Quote #1

First of all i must say that my english is not good

when players in my server press /commands..than command.txt opens as motd in their window .and location command.txt is cstrike folder -
-------------------
+karma if helped

Last edited by jondd; 10-27-2009 at 03:52.
jondd is offline
Xellath
Veteran Member
Join Date: Dec 2007
Location: Sweden
Old 10-27-2009 , 03:56   Re: MOTD appear n more
Reply With Quote #2

Code:
#include < amxmodx > new const szFile[ ] = "commands.txt"; new const szHeader[ ] = "Commands MOTD"; public plugin_init( )     register_clcmd( "say /commands", "ClientCommand_ShowCommands" ); public ClientCommand_ShowCommands( iClient )     if ( is_user_alive( iClient ) )         show_motd( iClient, szFile, szHeader );

With that you just have to place a .txt file in the cstrike folder.
__________________
Achievements API - a simple way for you to create your OWN custom achievements!
Xellath is offline
jondd
BANNED
Join Date: Oct 2009
Old 10-27-2009 , 04:14   Re: MOTD appear n more
Reply With Quote #3

thank you very much ..+karma for you
jondd is offline
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 00:57.


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