Author Topic: Gui problems  (Read 2245 times)

ok i know i posted this before but that was mostly figureing out the code

anywas know the code doesent work at all
Code: [Select]
      };
      new GuiSliderCtrl(setZoomFOV) {
         profile = "GuiSliderProfile";
         horizSizing = "right";
         vertSizing = "bottom";
         position = "4 321";
         extent = "268 64";
         minExtent = "8 2";
         visible = "1";
         variable = "$Pref::Player::CurrentFOV;";
         command = "setZoomFOV";
         range = "1.000000 100.000000";
         ticks = "100";
         value = "1";
      };

so that slider should change the FOV(zoom) acording to the slider..so wtf it doesent work

Don't put quotes around the variable.

Code: [Select]
variable=$Pref::Player::CurrentFOV;

I think you also need to practice using the button.
I ACCIDENTLY LOCKED THE THREAD! XD


Based on your posts, it seems extremely likely that you made a typo somewhere in your code.
nope
it wasent that that was causing the crash

the sript just doesent work :D