Raised This Month: $ Target: $400
 0% 

command help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
SPT1
Senior Member
Join Date: Aug 2012
Old 08-25-2012 , 09:17   command help
Reply With Quote #1

how will i let it work
if anyone says /commands and /command
or /commandaaaaa
now it only works if anyone says /command
PHP Code:
#include <amxmodx>
#include <amxmisc>

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


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

__________________
AMXMODX

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