Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • Need help?

    Create a topic in the appropriate section
    Don't write everything in the chat!
  • Take a look at the marketplace

    There you can buy
    everything related to game servers
  • Don't want a ban?

    Please read our rules
    Don't disturb the order!
  • Sell or buy?

    Use services of the guarantor
    We will make your deal safe
  • 0
Sign in to follow this  
Horus

Ошибка вызова скрипта

Добавил новый класс в gui, но не могу его вызвать.

class debugMonitor_1890: ch0x_debugMonitor {
            idc = 1890;
            x = 0.7885 * safezoneW + safezoneX;
            y = 0.1 * safezoneH + safezoneY;
            w = 0.1963 * safezoneW;
            h = 0.1795 * safezoneH;
            colorBackground[] = {0,0,0,0.35};
            [] Spawn "'scripts\ptm\scripts\debugMonitor.sqf'";     
        };

Получаю ошибку

ErrorMessage: File mpmissions\__cur_mp.Chernarus\scripts\ptm\menu.hpp, line 122: Config: /ch0xMenu/controls/debugMonitor_1890.: 's' encountered instead of '='

Не хватает переменной, а вот какой не знаю.

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0
03.06.2021 в 21:58, Horus сказал:

[] Spawn "'scripts\ptm\scripts\debugMonitor.sqf'";

Должно быть так [] Spawn "scripts\ptm\scripts\debugMonitor.sqf";

Share this post


Link to post
Share on other sites







  • 0

@Venom21 ErrorMessage: File mpmissions\__cur_mp.Chernarus\scripts\ptm\menu.hpp, line 115: '/ch0xMenu/controls.': '*' encountered instead of '='

Share this post


Link to post
Share on other sites
  • 0
4 часа назад, Horus сказал:

@Venom21 ErrorMessage: File mpmissions\__cur_mp.Chernarus\scripts\ptm\menu.hpp, line 115: '/ch0xMenu/controls.': '*' encountered instead of '='

Нужно видеть сам скрипт так как указывается 115 строка и неверным знаком...  если хочешь

напиши в личку

Edited by Venom21 (see edit history)

Share this post


Link to post
Share on other sites
  • 0
12 минут назад, Venom21 сказал:

указывается 115 строка

Это строка класса 

Screenshot_1.jpg.48d59ea67c48b11ba523ca8919aaf8a5.jpg

 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you automaticly agree to our Guidelines and Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.