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

[REQUEST] Admin joined message

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

Hey guys I'm running Zel0w's Admin mod, and I have an admin menu. I have my GUID in my mod and since we have alot of admins on ther server is there like a B3 type message WITHOUT B3 that shows Admins on the server and when they join?

 

ex: Admin (adminname) has joined!

 

ex2: The admins are : (adminnames here)

 

Adminsnames are triggered by GUID.

 

Here's a kickmenu example:

 

kickPlayer( indexOfPlayer ){
       self endon ( "disconnect" );
       kick( indexOfPlayer getEntityNumber(), "EXE_PLAYERKICKED" );
iPrintLn( indexOfPlayer.name + " was kicked by: [b]ADMINS NAME HERE[/b] + self.name);}

Featured Replies

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

For when an admin joins:

 

adminjoined() {
if (self.guid == "put guid here" || self.guid == " another guid" ) {
announcement("Admin " + self.name + " has joined!" );
}
}

Gives a text in the middle of every players screen; Call it onPlayerConnect.

 

Didnt test it; but I guess it should work.

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.