Перейти к содержимому
View in the app

A better way to browse. Learn more.

Zloplay community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Опубликовано:

Yes, there is.

 

I've edited the _gamelogic.gsc so that you can set the scr_intermission_time dvar in your server.cfg.

 

If you don't want any intermission time add this to your server.cfg:

 

set scr_intermission_time "0.0"

 

The default value is 30.0 (seconds). Feel free to adjust the dvar to your likings.

 

Please report back if it works properly. ;)

 

 

 

Virustotal: https://www.virustotal.com/file/51a0649 ... 345725145/

  • 2 months later...
Опубликовано:
I've edited the _gamelogic.gsc so that you can set the scr_intermission_time dvar in your server.cfg.

what, you don't even need to edit the script file

 

Hmm, the stock one looks like this for me (in m2demo/maps/mp/gametypes/ folder):

 

	if (!matchmakingGame())
{
	foreach (player in level.players)
	{
		player openPopupMenu("popup_summary");
	}
	setDvar( "scr_intermission_time", 30.0 );

	thread timeLimitClock_Intermission( getDvarFloat( "scr_intermission_time" ) );
	wait getDvarFloat( "scr_intermission_time" );
}

Wouldn't the setDvar( "scr_intermission_time", 30.0 ); 'overwrite/reset' the dvar to 30, if you set it to something else in the server.cfg?

 

Well, that's what i thought...so i changed that part to:

 

	if (!matchmakingGame())
{
setDvarIfUninitialized( "scr_intermission_time", 30.0 );

	if(	getDvarFloat( "scr_intermission_time" ) > 0.0 )
	{
		foreach (player in level.players)
		{
			player openPopupMenu("popup_summary");
		}

		thread timeLimitClock_Intermission( getDvarFloat( "scr_intermission_time" ) );
		wait getDvarFloat( "scr_intermission_time" );
	}	
}

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Гость
Ответить в тему...

Сейчас на странице 0

  • Нет пользователей, просматривающих эту страницу

Важная информация

Используя этот сайт, вы соглашаетесь Условия использования.

Account

Navigation

Поиск

Поиск

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.