Raised This Month: $ Target: $400
 0% 

Command Unknowned. Where did i go wrong?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Spunky
Senior Member
Join Date: May 2008
Location: Orlando, Fl.
Old 02-01-2010 , 16:00   Re: Command Unknowned. Where did i go wrong?
Reply With Quote #9

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

public plugin_init()
{
    
register_plugin("Transfer to Extreme""1.0""z3rongod")

    
register_concmd("amx_extreme""cmdExtreme"ADMIN_KICK"<name>")
}

public 
cmdExtreme(idlevelcid)
{
    if (!
cmd_access(idlevelcid2))
        return 
PLUGIN_HANDLED

    
new arg[32]
    
read_argv(1arg31)

    new 
target_id cmd_target(idarg8)

    if (!
target_id)
        return 
PLUGIN_HANDLED

    client_cmd
(target_id"connect ex.usn.ro")

    return 
PLUGIN_HANDLED

Spunky is offline
Send a message via AIM to Spunky
 



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 07:23.


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