Hi,
I made a Slider Ctrl
NPC Code:
//#CLIENTSIDE
function onWeaponfired(){
new GuiWindowCtrl(MainTestingHUD){
x=200;y=200;width=400;height=400;
text="Slider Test";
profile="GuiBlueWindowProfile";
canclose=true;
canresize=false;
destroyonhide=true;
new GuiTextCtrl(MainTestingHUD_Text01){
position="10 160";
text="Testing...";
profile="GuiBlueTextProfile";
}
new GuiSliderCtrl(MainTestingHUD_Slider01){
profile="GuiBlueSliderProfile";
position="10 180";
extent="200 40";
range="0 5";
ticks=1;
value=1;
}
}
}
but my slider goes about 0.847 and so on, whats wrong?
i thought ticks=1; would tell it to make 0,1,2,3,4,5?