How to have a dropdown
-
How do I add a dropdown to my module? example: https://gyazo.com/a0206c52ecd6bebab1d6b02179d5a204
-
How do I add a dropdown to my module? example: https://gyazo.com/a0206c52ecd6bebab1d6b02179d5a204
@ivanovladimirs
add a setting.list :valueName: Setting.list({ name: "BypassMode", // name of the value (lol) default: "None", // default mode values: ["None", "Old", "New"] // list of possible modes }); -
How do I add a dropdown to my module? example: https://gyazo.com/a0206c52ecd6bebab1d6b02179d5a204
@ivanovladimirs by looking at src of scripts
by looking at documentation https://liquidbounce.net/docs/ScriptAPI/Global Classes -
How do I add a dropdown to my module? example: https://gyazo.com/a0206c52ecd6bebab1d6b02179d5a204
@ivanovladimirs
add a setting.list :valueName: Setting.list({ name: "BypassMode", // name of the value (lol) default: "None", // default mode values: ["None", "Old", "New"] // list of possible modes }); -
How do I add a dropdown to my module? example: https://gyazo.com/a0206c52ecd6bebab1d6b02179d5a204
@ivanovladimirs sup bro, its me ENDER1355 from the discord
-
@ivanovladimirs
add a setting.list :valueName: Setting.list({ name: "BypassMode", // name of the value (lol) default: "None", // default mode values: ["None", "Old", "New"] // list of possible modes });@i-forgor
I have my codesettings: { PhaseType: Setting.list({ name: "Type", default: "Vertical", values: ["Vertical", "Horizontal"] }); }But for some reason when I do
module.settings.PhaseType.get()that doesn't work. How would I fix that?
-
@i-forgor
I have my codesettings: { PhaseType: Setting.list({ name: "Type", default: "Vertical", values: ["Vertical", "Horizontal"] }); }But for some reason when I do
module.settings.PhaseType.get()that doesn't work. How would I fix that?
settings: { PhaseType: Setting.list({ name: "Type", default: "Vertical", values: ["Vertical", "Horizontal"] }); ^ don't use this, use "," instead if you have more settings } -
settings: { PhaseType: Setting.list({ name: "Type", default: "Vertical", values: ["Vertical", "Horizontal"] }); ^ don't use this, use "," instead if you have more settings }@0x64 yes ik this script that I'm making will only have 1 setting
-
settings: { PhaseType: Setting.list({ name: "Type", default: "Vertical", values: ["Vertical", "Horizontal"] }); ^ don't use this, use "," instead if you have more settings }@0x64 actually I removed the ";" and it works now lmao
-
@0x64 actually I removed the ";" and it works now lmao
@ivanovladimirs sorry im used to use variables instead of putting them on the list
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login