I looked at it, and I don't understand alot of things since I don't know these functions, could you please help me and please post the part of code where he forces them to pick 1 then?
I believe that's it:
PHP Code:
stock handle_join(id, iMsgid, iTeam)
{
new iMsgBlock = get_msg_block(iMsgid);
set_msg_block(iMsgid, BLOCK_SET);
engclient_cmd(id, "jointeam", g_sTeamNums[iTeam]);
new iClass = get_team_class(iTeam);
if(1 <= iClass <= 4)
{
engclient_cmd(id, "joinclass", g_sClassNums[iClass - 1]);
}
set_msg_block(iMsgid, iMsgBlock);
}
But I can't understand anything from it, therefore I don't know how to apply it to my code.