View Single Post
MihailoZ
Member
Join Date: Aug 2013
Old 09-16-2019 , 13:30   Re: Block jointeam T but allow CT and SPEC
Reply With Quote #5

Quote:
Originally Posted by LearninG View Post
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.
__________________
mhvtnns
MihailoZ is offline