Hi!
For a player in the any team with the parameter m_iJoiningState = SHOWTEAMSELECT or m_iJoiningState = JOINED, the menu does not close at the end of the countdown. And if the map has been extended, the menu continues to hang on the screen with time 1 sec.
At
|
show_menu(0, 0, "^n", 1); |
This one work fine in a loop:
stock my_reset_menu(const id) {
static i_msg;
if (is_valid_player(i)) {
set_member(id, m_iMenu, Menu_OFF);
if (!i_msg)
i_msg = get_user_msgid("ShowMenu");
message_begin(MSG_ONE, i_msg, _, id);
{
write_short(0);
write_char(0);
write_byte(0);
write_string("");
}
message_end();
}
}
Hi!
For a player in the any team with the parameter
m_iJoiningState = SHOWTEAMSELECTorm_iJoiningState = JOINED, the menu does not close at the end of the countdown. And if the map has been extended, the menu continues to hang on the screen with time 1 sec.At
MapManagerModular/cstrike/addons/amxmodx/scripting/map_manager_core.sma
Line 730 in 3bce2db
This one work fine in a loop: