Перейти к содержимому
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]Can I set player's control botton on match?

Featured Replies

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

Hi.

Thanks for help.

I need to know if there is a way to set player's button on game match.

 

for example, a button setting of my melee is "E".

and i would like to press "E" button automatically right after I type "melee" at chat.

 

if i can control button setting, I may let BOTs have various skills such as melee, prone, crawl..

 

attached file is currently on mod for Infected with BOTs.

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

using this

entity.OnInterval(250, ent1 =>

{

if (ent1.Call("meleebuttonpressed") >= 1)

Utilities.RawSayTo(ent1, "Knifing");

return true;

});

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

entity.OnInterval(250, ent1 =>

{

if (ent1.Call("meleebuttonpressed") >= 1)

Utilities.RawSayTo(ent1, "Knifing");

return true;

});

 

...

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

entity.OnInterval(250, ent1 =>

{

if (ent1.Call("meleebuttonpressed") >= 1)

Utilities.RawSayTo(ent1, "Knifing");

return true;

});

 

that's obviously not going to work.

you should probably be using notifyonplayercommand

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.