Перейти к содержимому
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.
Опубликовано:

Hi guys, im trying to learn how to make mods, its not easy so I started with a project that should be easy for a experienced scripter. I watched closely DeathMax's RollTheDice script cause there is tons of info, I wanted to make like a "wallhack" script that there will be red squares, its not to hack or something just for private use.

 

Its a little script that I don't know the fuck how to fix it.

 

Could someone fix it.

 

By the way, I would like someone to fix it just to know how to fix it, the script is just a test, so I could learn...

Featured Replies

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

So whats is this all about?

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Bullseye
{
   public class Bullseye{
                   player.Call("thermalvisionfofoverlayon")
   }}

 

I am not trying to be a dick here but you have so much to learn :o

Maybe you can start watching some YouTube video's about C#?

Опубликовано:
  • Автор
Aalalex":7tcvdq9s]So whats is this all about?

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Bullseye
{
   public class Bullseye{
                   player.Call("thermalvisionfofoverlayon")
   }}

 

I am not trying to be a dick here but you have so much to learn :o

Maybe you can start watching some YouTube video's about C#?

Could you point me to one?

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

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using InfinityScript;

namespace Bullseye
{
   public class Bullseye : BaseScript
   {
       public Bullseye()
           : base()
       {
           PlayerConnected += new Action(entity =>
               {
                   entity.SpawnedPlayer += new Action(() =>
                       {
                           entity.Call("thermalvisionfofoverlayon");
                       });
               });
       }
   }
}

1) You need to add : BaseScript at the end public class Bullseye

2) Add "using InfinityScript;" in the using section.

3) Remove reference to RTD

4) Add reference to InfinityScript

5) After public class Bullseye : BaseScript

do

{
public Bullseye()
   : base()

6) Make sure to get your {} correct.

 

Note: Why add Wallhax to players? :<

Опубликовано:
  • Автор
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using InfinityScript;

namespace Bullseye
{
   public class Bullseye : BaseScript
   {
       public Bullseye()
           : base()
       {
           PlayerConnected += new Action(entity =>
               {
                   entity.SpawnedPlayer += new Action(() =>
                       {
                           entity.Call("thermalvisionfofoverlayon");
                       });
               });
       }
   }
}

1) You need to add : BaseScript at the end public class Bullseye

2) Add "using InfinityScript;" in the using section.

3) Remove reference to RTD

4) Add reference to InfinityScript

5) After public class Bullseye : BaseScript

do

{
public Bullseye()
   : base()

6) Make sure to get your {} correct.

 

Note: Why add Wallhax to players? :<

 

I mentioned it in my above post, I just wanted to make a test :P

 

Thanks :D

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.