Raised This Month: $ Target: $400
 0% 

command help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
grs4
Senior Member
Join Date: Dec 2010
Location: Poland
Old 08-25-2012 , 09:25   Re: command help
Reply With Quote #5

PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "311313"
#define VERSION "1.0"
#define AUTHOR "grs4"

new command[] = "/command"
public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_clcmd("say""say")
}
public 
say(id)
{
    new 
szTxt[128]
    
read_args(szTxt127)
    
remove_quotes(szTxt)
    if(
containi(szTxtcommand))
    {
        
command_say(id);
    }
}
public 
command_say(id)
{
    
show_motd(id"command.txt")

Is that it ?

Last edited by grs4; 08-25-2012 at 09:26.
grs4 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