Поиск Looking for a tactical timeout plugin like CSGO or FASTCUP ( CS 1.6 )

Сообщения
86
Реакции
2
Hi. Can anyone help me with a pause plugin like the one on FASTCUP or like the one on CSGO ( FACEIT ) ? For example, 2 pauses per team of 1 minute each and possibly a team vote.
 
Сообщения
31
Реакции
6
Предупреждения
8
Код:
stock SetRoundTime(iTime)
{
    static iMsgRoundTime;
   
    if(iMsgRoundTime || (iMsgRoundTime = get_user_msgid("RoundTime")))
    {
        if(get_gamerules_int("CGameRules","m_bFreezePeriod"))
        {
            set_gamerules_int("CHalfLifeMultiplay","m_iIntroRoundTime",iTime);
            set_gamerules_float("CHalfLifeMultiplay","m_fIntroRoundCount",get_gametime());
        }
else
{
            set_gamerules_int("CHalfLifeMultiplay","m_iRoundTimeSecs",iTime);
            set_gamerules_float("CHalfLifeMultiplay","m_fRoundCount",get_gametime());
        }

        message_begin(MSG_ALL,iMsgRoundTime);
        write_short(iTime);
        message_end();
    }
}
this will likely not work with rehlds though (courtesy of smiley from alliedmods)
 
Сообщения
86
Реакции
2
Код:
stock SetRoundTime(iTime)
{
    static iMsgRoundTime;
  
    if(iMsgRoundTime || (iMsgRoundTime = get_user_msgid("RoundTime")))
    {
        if(get_gamerules_int("CGameRules","m_bFreezePeriod"))
        {
            set_gamerules_int("CHalfLifeMultiplay","m_iIntroRoundTime",iTime);
            set_gamerules_float("CHalfLifeMultiplay","m_fIntroRoundCount",get_gametime());
        }
else
{
            set_gamerules_int("CHalfLifeMultiplay","m_iRoundTimeSecs",iTime);
            set_gamerules_float("CHalfLifeMultiplay","m_fRoundCount",get_gametime());
        }

        message_begin(MSG_ALL,iMsgRoundTime);
        write_short(iTime);
        message_end();
    }
}
this will likely not work with rehlds though (courtesy of smiley from alliedmods)
I've forgot to mention that I'm using rehlds. ?!
 

Пользователи, просматривающие эту тему

Сейчас на форуме нет ни одного пользователя.
Сверху Снизу