Thread: [REQ] /admin
View Single Post
T-z3P
Senior Member
Join Date: Apr 2008
Location: Iasi, Romania
Old 04-04-2012 , 05:22   Re: [REQ] /admin
Reply With Quote #2

You could search before posting, there are tons of examples in these forums.
PHP Code:
#include <amxmodx>
#include <amxmisc>

new AUTHOR[]="T-z3P"
new VERSION[]="0.1"
new PLUGIN[]=""

public plugin_init()
{
    
register_plugin(PLUGIN,VERSION,AUTHOR)

    
register_clcmd("say /admin","cmdAdmin")
    
register_clcmd("say_team /admin","cmdAdmin")
}

public 
cmdAdmin(id)
{    
    
show_motd(id,"addons\amxmodx\configs\admin.html","Admin")
    
    return 
PLUGIN_HANDLED

Compile this and make a html file called "admin.html", add your information in it and then place it in "cstrike/addons/amxmodx/configs".
__________________



Last edited by T-z3P; 04-04-2012 at 05:22.
T-z3P is offline
Send a message via Yahoo to T-z3P Send a message via Skype™ to T-z3P