Перейти к содержимому
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.

[HELP] Force team and by-pass class selection?

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

Hi guys,

 

In the mod I'm working on, I'm trying to force all players to one team and not let them select an initial class. I currently have it working (somewhat) with the self notify function:

 

self notify("menuresponse", game["menu_team"], "axis");

 

And set that when the player spawns. Choosing the allies team initially brings the player to the class selection, then upon choosing a class they spawn and die and are allowed to reselect a class. Is there any way to bypass this?

 

Thanks for your help,

- PROWNE

Featured Replies

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

So you just want to allow one initial class choice?

 

Try commenting out:

 

self openpopupMenu( game["menu_changeclass_allies"] );
self openpopupMenu( game["menu_changeclass_axis"] );

 

in _menu.gsc.

EDIT: ups, i missed the not. Still don't get exactly what you want. Do you want to disable manual class selection and team selection completely? Anyway, here are part you might want to use: viewtopic.php?p=100751#p100751

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.