Raised This Month: $ Target: $400
 0% 

command help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-25-2012 , 12:06   Re: command help
Reply With Quote #9

Quote:
Originally Posted by Torge View Post
Well, I tested it and it works fine... Did you forgot to create command.txt in your cstrike folder ?

PHP Code:
#include <amxmodx>
#include <amxmisc>

#define PLUGIN ""
#define VERSION ""
#define AUTHOR ""


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
register_clcmd("say /command""command_say");
    
register_clcmd("say /commands""command_say");
}
public 
command_say(id)
{
 
show_motd(id"command.txt")

That is still not what he asked for. I don't understand why he said thanks. The closest one to the correct code according to the actual request was posted by grs4.
__________________
fysiks is offline
 



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 05:49.


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