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
}
__________________