Ads keep us online. Without them, we wouldn't exist. We don't have paywalls or sell mods - we never will. But every month we have large bills and running ads is our only way to cover them. Please consider unblocking us. Thank you from GameBanana <3

Need Menu Help

A Forum Thread for GameBanana

I'm new to scripting and i did the following in my menu can someone tell me how to make it work? this is in the menu: "8" "Volume Controls" { "01" "Volume Up" "volUp" "02" "Volume Down" "volDown" "03" "Mute" "hlamp SetVolume 0" } this is below the end of the menu entries at the end of commandmenu.txt: alias volUp "vola" alias volDown "vola" alias vola "hlamp SetVolume 255; alias volUp vola; alias volDown volb" alias volb "hlamp SetVolume 230; alias volUp vola; alias volDown volc" alias volc "hlamp SetVolume 204; alias volUp volb; alias volDown vold" alias vold "hlamp SetVolume 179; alias volUp volc; alias volDown vole" alias vole "hlamp SetVolume 153; alias volUp vold; alias volDown volf" alias volf "hlamp SetVolume 128; alias volUp vole; alias volDown volg" alias volg "hlamp SetVolume 102; alias volUp volf; alias volDown volh" alias volh "hlamp SetVolume 77; alias volUp volg; alias volDown voli" alias voli "hlamp SetVolume 51; alias volUp volh; alias volDown volj" alias volj "hlamp SetVolume 26; alias volUp voli; alias volDown volk" alias volk "hlamp SetVolume 0; alias volUp volj; alias volDown volk" Help please

Replies

Sign up to access this!
  • Guest avatar
    Guest Joined 14y ago
    Offline
    19 medals 4 legendary 6 rare
    • Submitted 100 Skins Medal icon
    • Submitted 50 Maps Medal icon
    • Submitted 200 Threads Medal icon
    • Submitted 30 Tutorials Medal icon
    • Submitted 50 Skins Medal icon
    • Submitted 20 Maps Medal icon
    access_time 17y
    when i do that it gives undefined variable hlamp any more ideas? :aug: :m249:
    Bot Account
    URL to post:
  • Disk2 avatar
    Disk2 Joined 17y ago
    Offline
    723 points Ranked 42651st
    access_time 17y
    First, you should not use two digit numbers for command menu items. Use a blank space or a letter. Second, putting that script at the end of commandmenu.txt will do nothing. Make a file called autoexec.cfg in your MOD's directory (e.g. c:\sierra\half-life\cstrike\autoexec.cfg) and put that script in there.
    Bananite
    URL to post:

Embed

menu
Share banner
Image URL
HTML embed code
BB embed code
Markdown embed code

Author

Guest avatar
Guest Joined 14y ago
Offline
19 medals 4 legendary 6 rare
  • Submitted 100 Skins Medal icon
  • Submitted 50 Maps Medal icon
  • Submitted 200 Threads Medal icon
  • Submitted 30 Tutorials Medal icon
  • Submitted 50 Skins Medal icon
  • Submitted 20 Maps Medal icon
Guest
Sign up to access this!
Sign up to access this!
Sign up to access this!

Game

Sign up to access this!

Category

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • favorite 0
  • remove_red_eye 758
  • mode_comment 2
  • access_time 17y

More from Submitter

menu

WiPs by Submitter

menu

More Lost & Found Threads