Raised This Month: $ Target: $400
 0% 

Help Me With My Plugin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Poison_Jay
Senior Member
Join Date: May 2004
Old 07-12-2004 , 05:04   Help Me With My Plugin
Reply With Quote #1

Code:
/* AMX Mod X Script *   *  Transfer Plugin *  By: Poison_Jay * *  Transfer People By Amx_Transfer NICK TEAM */ #include <amxmodx> #include <amxmisc> public plugin_init() {    register_plugin("Transfer Team","0.1","Poison_Jay")    register_concmd("amx_transfer","cmdtransfer", ADMIN_KICK,    return PLUGIN_CONTINUE } public cmdtransfer(id, level, cid) {    if (!cmd_access(id,level,cid,2)) return PLUGIN_HANDLED    new arg[32]    read_argv(1, arg, 31)    new player = cmd_target(id, arg, 2)    if (player != 0) client_cmd(player, "chooseteam")    if (player != 0) client_cmd(menuselect", "1")    if (player != 0) client_cmd(menuselect", "5")    new authid[32],authid2[32],name2[32],name[32]    get_user_authid(id,authid,31)    get_user_authid(player,authid2,31)    get_user_name(player,name2,31)    get_user_name(id,name,31)    client_print(0,print_chat,"ADMIN %s:%s Has Changed Team To CT",name,name2)    }    return PLUGIN_HANDLED }

there seems to be a major problem, this only transfer u to CT, omfg, i kinda lost now
Poison_Jay is offline
Send a message via MSN to Poison_Jay
 


Thread Tools
Display Modes

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 14:40.


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