Raised This Month: $ Target: $400
 0% 

Menu to chooseteam key


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Verknupfung
New Member
Join Date: Jan 2014
Old 01-20-2014 , 04:58   Re: Menu to chooseteam key
Reply With Quote #4

Code:
#include <amxmodx>
#include <cstrike>

#define PLUGIN "ChooseTeam"
#define VERSION "1.0"
#define AUTHOR "Amx"

public plugin_init()
{
        register_plugin(PLUGIN, VERSION, AUTHOR)
	register_clcmd("chooseteam", "CmdChooseteam")
	register_clcmd("jointeam", "CmdChooseteam")
}

public CmdChooseteam(id) 
{
         if (cs_get_user_team(id) == CS_TEAM_UNASSIGNED || cs_get_user_team(id) == CS_TEAM_SPECTATOR)
         return PLUGIN_CONTINUE

         client_cmd(id,"say menu") // Code... CmdMenu(id)
         return PLUGIN_HANDLED
}
Try this, sorry for my english.

Last edited by Verknupfung; 01-20-2014 at 05:03.
Verknupfung 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 10:09.


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