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

Опубликовано:
Is it because of private match? Heard that it's buggy...

 

It chrashes for me too, if i put it in scripts/!!!testmod.gsc and pack it as .iwd.

 

Just put it in maps/mp/gametypes and load it from another (stock) .gsc like _load.gsc.

Put the _load.gsc in maps/mp/ and call your custom.gsc from there.

To call it, add this:

 

thread maps\mp\gametypes\yourgscname::init();

 

Make sure to find a proper place to load it.

E.g. below this line

thread maps\mp\_global_fx::main();

, which is already in _load.gsc

 

 

BTW: You shouldn't use setDvar everytime a player spawns. Better use it on init() in your custom.gsc file.

 

And its: setDvar( "jump_height", 300 ); instead of setDvar( jump_height, 300 ); ;)

Same for the other dvars ofc.

Опубликовано:
  • Автор
Just put it in maps/mp/gametypes and load it from another (stock) .gsc like _load.gsc.

Put the _load.gsc in maps/mp/ and call your custom.gsc from there.

To call it, add this:

 

thread maps\mp\gametypes\yourgscname::init();

 

Make sure to find a proper place to load it.

E.g. below this line

thread maps\mp\_global_fx::main();

, which is already in _load.gsc

And where do I get the "_load.gsc"?! EDIT: Got it!

 

And its: setDvar( "jump_height", 300 ); instead of setDvar( jump_height, 300 ); ;)

Same for the other dvars ofc.

Yea, already noticed that, but thanks :)

 

EDIT: It worked, thank you banz! :3

Join the conversation

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

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

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

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

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

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

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.