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

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

okay im trying to build a plugin to go along with my Servertool but for some reason i cannot get the damn thing to read console commands

 

is there a certain point in my plugin i need to have the commands

 

private BaseScript.EventEat CommandFilter(Entity player, string message)
       {
           string[] strArray = message.Split(new char[] { ' ' });

// Then i check for kick
if (strArray[0].Equals("!kick"))
           {
               kick(message, player);
               return 2;
           }
}

im getting a type casting error on return 2; Any ideas why??

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

your request not is a scripting request and kick is a void you must write it

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

i already have the kick stuff written out thats not a problem the section listed above is the problem

with the return 2; thing i get this error

 

Cannot implicitly convert type 'int' to 'InfinityScript.BaseScript.EventEat'. An explicit conversion exists (are you missing a cast?)

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.