Coder Social home page Coder Social logo

Comments (6)

ole1986 avatar ole1986 commented on May 29, 2024

Can be a bug - its been a while since I tested it.

Details: for loop is in AdminToolkit_buttonEvents.sqf LINE 29:

for "_i" from 1600 to 1605 do
            {
                if((_list select _i) != '') then 
                {
                    ctrlSetText[_i, _list select _i];
                };
            };

UPPER BUTTON NUMBERS

1600 = Player (default)
1601 = Vehicles
1602 = Weapons
1603 = Mod 1
1604 = Mod 2
1605 = Mod 3

from a3-admintoolkit.

ole1986 avatar ole1986 commented on May 29, 2024

It is supposed to replace only those buttons when array element is other than "empty"

Example:

// will replace only the menu button with IDC=1604 and keeps others untouched
AdminToolkit_MenuTitle[] = {"", "", "", "", "Others", ""};

from a3-admintoolkit.

Warsheep-GER avatar Warsheep-GER commented on May 29, 2024

ya i saw this loop but dosnt find an error ther.

mh ok but i tryed it with this both cases

           AdminToolkit_MenuTitle[] = {"Players", "Vehicles", "Weapons", "Exile", "Others", "Items"};
    AdminToolkit_MenuTitle[] = {"Exile", "Exile", "Exile", "Exile", "Exile", "Exile"};

i will try ur example

from a3-admintoolkit.

Warsheep-GER avatar Warsheep-GER commented on May 29, 2024

AdminToolkit_MenuTitle[] = {"", "", "", "Exile", "", ""};

dosnt work too

from a3-admintoolkit.

ole1986 avatar ole1986 commented on May 29, 2024

OK - I will flag this as bug

feel free to fix it and do another pull request or wait until I have fixed it

Thank you for reporting!

from a3-admintoolkit.

ole1986 avatar ole1986 commented on May 29, 2024

bug fixed

from a3-admintoolkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.