Quote:
Originally Posted by Jhob94
Well i guess that's a nice option too.
But i don't want to allow jointeam command after doing that. My idea before was to let 0 spawnpoints for Terro teams so they can't join Terro. And disable allowspectators cvar. But i need this so what about this? It can be bypassed?
PHP Code:
#include <amxmodx>
new bool:Joined[33]
public plugin_init() { register_clcmd("jointeam", "cmdhandler") }
public client_connect(id) Joined[id] = false public client_disconnect(id) Joined[id] = false public cmdhandler(id) { if(!Joined[id]) { Joined[id] = true return PLUGIN_CONTINUE } return PLUGIN_HANDLED }
|
Not the best idea of what u want, but here:
PHP Code:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("chooseteam", "CMD_JoinTeam")
register_clcmd("jointeam", "CMD_JoinTeam")
register_clcmd("joinclass", "CMD_JoinTeam")
}
public CMD_JoinTeam(id)
{
//Make your menu
}
Now go log in to steam
Edit: Nvm, no idea what u mean..
__________________