Content Provider Itchigo Posted April 16, 2013 Content Provider Posted April 16, 2013 As I'm teaching myself arrays, I'm sure I have something wrong here. I get no errors, and I have the match set to 00 so I match every time, and can check it. Dim Playerscore,j Playerscore=array(Scoreplayer1,Scoreplayer2,Scoreplayer3,Scoreplayer4) Sub Match() Playsound "Matchend" MatchNumber = 00'Int(Rnd(1)*10)*10 EMReel4.SetValue(MatchNumber) 'Controller.B2SSetMatch 34,1 'Controller.B2SSetScore 7,MatchNumber If MatchNumber = 0 Then EMReel4.SetValue(MatchNumber) 'Controller.B2SSetScore 7,MatchNumber Else EMReel4.SetValue(MatchNumber) 'Controller.B2SSetScore 7,MatchNumber End If For j = 1 to Players If MatchNumber = (playerScore(j) Mod 100) Then Replay End If Next End Sub
Recommended Posts
Archived
This topic is now archived and is closed to further replies.