Hi, I want to know if I am not wrong about this idea:
I want to switch a player for example a terror in ct team, he is alive and I want to switch Him by the team menu. Evidently, I want to switch him without slaying him.
I think this is in the player menu. sma that I have to change something.
In this plug I find:
/* Team menu */
....
....
....
....
switch (get_cvar_num("amx_show_activity")) {
case 2: client_print(0,print_chat,"%L",id,"ADMIN_TRAN SF_2",name,name2,g_menuOption[id] ? "TERRORIST" : "CT" )
case 1: client_print(0,print_chat,"%L",id,"ADMIN_TRAN SF_1",name2,g_menuOption[id] ? "TERRORIST" : "CT" )
}
new limitt = get_cvar_num("mp_limitteams")
set_cvar_num("mp_limitteams",0)
user_kill(player,1) I think that I have to change the value to "0"
engclient_cmd(player, "chooseteam")
engclient_cmd(player, "menuselect", g_menuOption[id] ? "1" : "2" )
engclient_cmd(player, "menuselect", "5")
client_cmd(player,"slot1")
set_cvar_num("mp_limitteams",limitt)
displayTeamMenu(id,g_menuPosition[id])
Do you think that it's all ?
|