Quote:
Originally Posted by LearninG
Auto join also blocked :
Code:
#include <amxmodx>
public plugin_init()
{
register_clcmd("jointeam", "join_team")
}
public join_team(id)
{
new arg[2]
read_argv(1, arg, charsmax(arg))
if ( str_to_num(arg)-1 == 0 || str_to_num(arg)-1 == 4)
{
engclient_cmd(id,"chooseteam")
return PLUGIN_HANDLED
}
return PLUGIN_CONTINUE
}
|
Can you explain to me what is what, so I can add some custom code? Thanks.
__________________