Announcement

Collapse
No announcement yet.

Need little help on the elcos sliders options

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Need little help on the elcos sliders options

    I have a little issue with the sliders (and the indicators also).
    If i defined more than one slider into the .skin file, only the last slider is updated.
    If someone can help me please ?

    I give you an exemple !
    Attached Files
    Last edited by pierrotm777; 09-30-2011, 09:45 AM.

  • #2
    I have tried also to replace the line 119:
    Code:
    GUIDelete($SliderID[$Ln])
    by
    Code:
    For $Mn = 1 to $SliderID[$Mn]
    GUIDelete($SliderID[$Mn])
    Next
    It's better for the first loop but during the second loop, the update is bad for the first slider !
    and
    change please:
    Code:
    While 1
    	for $i = 0 to 65535 step 65535/20
    		$ValueSlider = $i
    		sleep(500)
    	Next
    
    Wend
    by
    Code:
    While 1
    	for $i = 0 to 65535 step Round(65535/20,0)
    		$ValueSlider = $i
    		sleep(500)
    	Next
    
    Wend
    Last edited by pierrotm777; 09-30-2011, 10:15 AM.

    Comment


    • #3
      I have just found that i have an issue with my DFX slider example that is curved !
      If i try this little script into RR, the slider is ok:
      Code:
      $rr = ObjCreate("RoadRunner.SDK")
      
      $rr.execute("load;GTA_El2_DFX5.skin")
      
      While 1
      	for $i = 0 to 65535 step Round(65535/20,0)
      		$rr.execute("SETVAR;DFXSPEED;"&$i)
      		sleep(2000)
      	Next
      
      Wend
      but the same slider don't run well with my script !!!
      Last edited by pierrotm777; 09-30-2011, 10:20 AM.

      Comment

      Working...
      X