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

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

Error 1 No overload method "doPlayerStore" not accept "1" argument

doPlayerStore(entity);

 

Here is the class:

        private void doPlayerStore(Entity player, string name, string message)
       {
           GameStore store = new GameStore(player);
           store.doStoreWhen(() =>
           {
               return (player.GetField("sessionteam") == "allies");
           });

           GameStore.StoreEntry entry = new GameStore.StoreEntry();
           entry.price = 50;
           {
               {
                   switch (message)
                   {
                       case "!ammo":
                           player.Call("givemaxammo", player.CurrentWeapon);
                           break;

                   }
               }

           }
       }

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

I do not copy qczm. I want to do in the store function "givemaxammo" to buy ammo command: В "!ammo"

you help me?

Опубликовано:
Isn't it obvious?

The function requires more than one argument.

 

I already know that! I don `t know what arguments it is necessary there to write!

Опубликовано:
I do not copy qczm. I want to do in the store function "givemaxammo" to buy ammo command: В "!ammo"

you help me?

You DON'T COPY QCZM? Puhhhlease, I checked your server it's a copy of MapEdit, which is a module of QCZM.

 

 

Also that "gamestore" is the module for GameStore.cs from QCZM.

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

then what you have posted the code? if you do not want to copy it to any living creature?

Why then upload scripts? if ever they say that copy the code?

I just want to make that in the store was qczm Command

 

for example

! ammo = ammo to give the player

! speed = speed player

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

can you tell me how to do it on command?

when I do so then I do not get

 

        private void doPlayerStore(Entity player, string name, string message)
       {
           GameStore store = new GameStore(player);
           store.doStoreWhen(() =>
           {
               return (player.GetField("sessionteam") == "allies");
           });

           GameStore.StoreEntry entry = new GameStore.StoreEntry();
           entry.price = 50;
           {
               {
                   switch (message)
                   {
                       case "!ammo":
                           player.Call("givemaxammo", player.CurrentWeapon);
                           break;

                   }
               }

           }
       }

Опубликовано:
Isn't it obvious?

The function requires more than one argument.

 

I already know that! I don `t know what arguments it is necessary there to write!

 

If you can't even figure this out, you shouldn't be doing any of this.

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.