Orbital Scoreboard
Pinup Sample Code
6min
PSD template
Daily/ Weekly Default File
This will take the returned values from the API and attach them to usable labels in pinup. This code takes into account that you have defined your numberfont and typefont elsewhere.
VisualBasic
1 'obslabels
2 'left 10
3 PuPlayer.LabelNew pBackglass,"wh1n",typefont, 5,16777215 ,0,1,1,22,30,1,1
4 PuPlayer.LabelNew pBackglass,"wh1s",numberfont, 5,16777215 ,0,1,1,36,30,1,1
5 PuPlayer.LabelNew pBackglass,"wh2n",typefont, 5,16777215 ,0,1,1,22,30,1,1
6 PuPlayer.LabelNew pBackglass,"wh2s",numberfont, 5,16777215 ,0,1,1,36,30,1,1
7 PuPlayer.LabelNew pBackglass,"wh3n",typefont, 5,16777215 ,0,1,1,22,30,1,1
8 PuPlayer.LabelNew pBackglass,"wh3s",numberfont, 5,16777215 ,0,1,1,36,30,1,1
9 PuPlayer.LabelNew pBackglass,"wh4n",typefont, 5,16777215 ,0,1,1,22,30,1,1
10 PuPlayer.LabelNew pBackglass,"wh4s",numberfont, 5,16777215 ,0,1,1,36,30,1,1
11 PuPlayer.LabelNew pBackglass,"wh5n",typefont, 5,16777215 ,0,1,1,22,30,1,1
12 PuPlayer.LabelNew pBackglass,"wh5s",numberfont, 5,16777215 ,0,1,1,36,30,1,1
13 PuPlayer.LabelNew pBackglass,"wh6n",typefont, 5,16777215 ,0,1,1,22,30,1,1
14 PuPlayer.LabelNew pBackglass,"wh6s",numberfont, 5,16777215 ,0,1,1,36,30,1,1
15 PuPlayer.LabelNew pBackglass,"wh7n",typefont, 5,16777215 ,0,1,1,22,30,1,1
16 PuPlayer.LabelNew pBackglass,"wh7s",numberfont, 5,16777215 ,0,1,1,36,30,1,1
17 PuPlayer.LabelNew pBackglass,"wh8n",typefont, 5,16777215 ,0,1,1,22,30,1,1
18 PuPlayer.LabelNew pBackglass,"wh8s",numberfont, 5,16777215 ,0,1,1,36,30,1,1
19 PuPlayer.LabelNew pBackglass,"wh9n",typefont, 5,16777215 ,0,1,1,22,30,1,1
20 PuPlayer.LabelNew pBackglass,"wh9s",numberfont, 5,16777215 ,0,1,1,36,30,1,1
21 PuPlayer.LabelNew pBackglass,"wh10n",typefont, 5,16777215 ,0,1,1,22,30,1,1
22 PuPlayer.LabelNew pBackglass,"wh10s",numberfont, 5,16777215 ,0,1,1,36,30,1,1
23 ' right 10
24 PuPlayer.LabelNew pBackglass,"ah1n",typefont, 5,16777215 ,0,1,1,22,30,1,1
25 PuPlayer.LabelNew pBackglass,"ah1s",numberfont, 5,16777215 ,0,1,1,36,30,1,1
26 PuPlayer.LabelNew pBackglass,"ah2n",typefont, 5,16777215 ,0,1,1,22,30,1,1
27 PuPlayer.LabelNew pBackglass,"ah2s",numberfont, 5,16777215 ,0,1,1,36,30,1,1
28 PuPlayer.LabelNew pBackglass,"ah3n",typefont, 5,16777215 ,0,1,1,22,30,1,1
29 PuPlayer.LabelNew pBackglass,"ah3s",numberfont, 5,16777215 ,0,1,1,36,30,1,1
30 PuPlayer.LabelNew pBackglass,"ah4n",typefont, 5,16777215 ,0,1,1,22,30,1,1
31 PuPlayer.LabelNew pBackglass,"ah4s",numberfont, 5,16777215 ,0,1,1,36,30,1,1
32 PuPlayer.LabelNew pBackglass,"ah5n",typefont, 5,16777215 ,0,1,1,22,30,1,1
33 PuPlayer.LabelNew pBackglass,"ah5s",numberfont, 5,16777215 ,0,1,1,36,30,1,1
34 PuPlayer.LabelNew pBackglass,"ah6n",typefont, 5,16777215 ,0,1,1,22,30,1,1
35 PuPlayer.LabelNew pBackglass,"ah6s",numberfont, 5,16777215 ,0,1,1,36,30,1,1
36 PuPlayer.LabelNew pBackglass,"ah7n",typefont, 5,16777215 ,0,1,1,22,30,1,1
37 PuPlayer.LabelNew pBackglass,"ah7s",numberfont, 5,16777215 ,0,1,1,36,30,1,1
38 PuPlayer.LabelNew pBackglass,"ah8n",typefont, 5,16777215 ,0,1,1,22,30,1,1
39 PuPlayer.LabelNew pBackglass,"ah8s",numberfont, 5,16777215 ,0,1,1,36,30,1,1
40 PuPlayer.LabelNew pBackglass,"ah9n",typefont, 5,16777215 ,0,1,1,22,30,1,1
41 PuPlayer.LabelNew pBackglass,"ah9s",numberfont, 5,16777215 ,0,1,1,36,30,1,1
42 PuPlayer.LabelNew pBackglass,"ah10n",typefont, 5,16777215 ,0,1,1,22,30,1,1
43 PuPlayer.LabelNew pBackglass,"ah10s",numberfont, 5,16777215 ,0,1,1,36,30,1,1
In this example I have set this frame as frame 5 in the arrtract cycle.
VisualBasic
1 Case 5
2 if osbkey="" then
3 clearhslabels
4 clearosblabels
5 DMDintroloop
6 Else
7 clearhslabels
8 PuPlayer.LabelSet pBackglass,"notetitle","Got A killer good High Score?",1,""
9 PuPlayer.LabelSet pBackglass,"notecopy","Post it to #stlevpx on instagram to brag.",1,""
10 playmedia "hposb1.mp4","videoattract",pBackglass,"",44000,"",1,14
11 PuPlayer.LabelSet pBackglass,"wh1n","1. " & dailyvar(2),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 9.8, 'xalign': 1, 'ypos': 31, 'yalign': 1}"
12 PuPlayer.LabelSet pBackglass,"wh1s",FormatNumber(dailyvar(3),0),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 26.1, 'xalign': 2, 'ypos': 31, 'yalign': 1}"
13 PuPlayer.LabelSet pBackglass,"wh2n","2. " & dailyvar(4),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 9.8, 'xalign': 1, 'ypos': 35, 'yalign': 1}"
14 PuPlayer.LabelSet pBackglass,"wh2s",FormatNumber(dailyvar(5),0),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 26.1, 'xalign': 2, 'ypos': 35, 'yalign': 1}"
15 PuPlayer.LabelSet pBackglass,"wh3n","3. " & dailyvar(6),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 9.8, 'xalign': 1, 'ypos': 39, 'yalign': 1}"
16 PuPlayer.LabelSet pBackglass,"wh3s",FormatNumber(dailyvar(7),0),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 26.1, 'xalign': 2, 'ypos': 39, 'yalign': 1}"
17 PuPlayer.LabelSet pBackglass,"wh4n","4. " & dailyvar(8),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 9.8, 'xalign': 1, 'ypos': 43, 'yalign': 1}"
18 PuPlayer.LabelSet pBackglass,"wh4s",FormatNumber(dailyvar(9),0),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 26.1, 'xalign': 2, 'ypos': 43, 'yalign': 1}"
19 PuPlayer.LabelSet pBackglass,"wh5n","5. " & dailyvar(10),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 9.8, 'xalign': 1, 'ypos': 47, 'yalign': 1}"
20 PuPlayer.LabelSet pBackglass,"wh5s",FormatNumber(dailyvar(11),0),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 26.1, 'xalign': 2, 'ypos': 47, 'yalign': 1}"
21 PuPlayer.LabelSet pBackglass,"wh6n","6. " & dailyvar(12),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 9.8, 'xalign': 1, 'ypos': 51, 'yalign': 1}"
22 PuPlayer.LabelSet pBackglass,"wh6s",FormatNumber(dailyvar(13),0),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 26.1, 'xalign': 2, 'ypos': 51, 'yalign': 1}"
23 PuPlayer.LabelSet pBackglass,"wh7n","7. " & dailyvar(14),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 9.8, 'xalign': 1, 'ypos': 55, 'yalign': 1}"
24 PuPlayer.LabelSet pBackglass,"wh7s",FormatNumber(dailyvar(15),0),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 26.1, 'xalign': 2, 'ypos': 55, 'yalign': 1}"
25 PuPlayer.LabelSet pBackglass,"wh8n","8. " & dailyvar(16),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 9.8, 'xalign': 1, 'ypos': 59, 'yalign': 1}"
26 PuPlayer.LabelSet pBackglass,"wh8s",FormatNumber(dailyvar(17),0),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 26.1, 'xalign': 2, 'ypos': 59, 'yalign': 1}"
27 PuPlayer.LabelSet pBackglass,"wh9n","9. " & dailyvar(18),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 9.8, 'xalign': 1, 'ypos': 63, 'yalign': 1}"
28 PuPlayer.LabelSet pBackglass,"wh9s",FormatNumber(dailyvar(19),0),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 26.1, 'xalign': 2, 'ypos': 63, 'yalign': 1}"
29 PuPlayer.LabelSet pBackglass,"wh10n","10. " & dailyvar(20),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 9.8, 'xalign': 1, 'ypos': 67, 'yalign': 1}"
30 PuPlayer.LabelSet pBackglass,"wh10s",FormatNumber(dailyvar(21),0),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 26.1, 'xalign': 2, 'ypos': 67, 'yalign': 1}"
31 PuPlayer.LabelSet pBackglass,"ah1n","1. " & weeklyvar(2),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 76.8, 'xalign': 1, 'ypos': 31, 'yalign': 1}"
32 PuPlayer.LabelSet pBackglass,"ah1s",FormatNumber(weeklyvar(3),0),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 94.1, 'xalign': 2, 'ypos': 31, 'yalign': 1}"
33 PuPlayer.LabelSet pBackglass,"ah2n","2. " & weeklyvar(4),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 76.8, 'xalign': 1, 'ypos': 35, 'yalign': 1}"
34 PuPlayer.LabelSet pBackglass,"ah2s",FormatNumber(weeklyvar(5),0),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 94.1, 'xalign': 2, 'ypos': 35, 'yalign': 1}"
35 PuPlayer.LabelSet pBackglass,"ah3n","3. " & weeklyvar(6),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 76.8, 'xalign': 1, 'ypos': 39, 'yalign': 1}"
36 PuPlayer.LabelSet pBackglass,"ah3s",FormatNumber(weeklyvar(7),0),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 94.1, 'xalign': 2, 'ypos': 39, 'yalign': 1}"
37 PuPlayer.LabelSet pBackglass,"ah4n","4. " & weeklyvar(8),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 76.8, 'xalign': 1, 'ypos': 43, 'yalign': 1}"
38 PuPlayer.LabelSet pBackglass,"ah4s",FormatNumber(weeklyvar(9),0),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 94.1, 'xalign': 2, 'ypos': 43, 'yalign': 1}"
39 PuPlayer.LabelSet pBackglass,"ah5n","5. " & weeklyvar(10),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 76.8, 'xalign': 1, 'ypos': 47, 'yalign': 1}"
40 PuPlayer.LabelSet pBackglass,"ah5s",FormatNumber(weeklyvar(11),0),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 94.1, 'xalign': 2, 'ypos': 47, 'yalign': 1}"
41 PuPlayer.LabelSet pBackglass,"ah6n","6. " & weeklyvar(12),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 76.8, 'xalign': 1, 'ypos': 51, 'yalign': 1}"
42 PuPlayer.LabelSet pBackglass,"ah6s",FormatNumber(weeklyvar(13),0),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 94.1, 'xalign': 2, 'ypos': 51, 'yalign': 1}"
43 PuPlayer.LabelSet pBackglass,"ah7n","7. " & weeklyvar(14),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 76.8, 'xalign': 1, 'ypos': 55, 'yalign': 1}"
44 PuPlayer.LabelSet pBackglass,"ah7s",FormatNumber(weeklyvar(15),0),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 94.1, 'xalign': 2, 'ypos': 55, 'yalign': 1}"
45 PuPlayer.LabelSet pBackglass,"ah8n","8. " & weeklyvar(16),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 76.8, 'xalign': 1, 'ypos': 59, 'yalign': 1}"
46 PuPlayer.LabelSet pBackglass,"ah8s",FormatNumber(weeklyvar(17),0),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 94.1, 'xalign': 2, 'ypos': 59, 'yalign': 1}"
47 PuPlayer.LabelSet pBackglass,"ah9n","9. " & weeklyvar(18),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 76.8, 'xalign': 1, 'ypos': 63, 'yalign': 1}"
48 PuPlayer.LabelSet pBackglass,"ah9s",FormatNumber(weeklyvar(19),0),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 94.1, 'xalign': 2, 'ypos': 63, 'yalign': 1}"
49 PuPlayer.LabelSet pBackglass,"ah10n","10. " & weeklyvar(20),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 76.8, 'xalign': 1, 'ypos': 67, 'yalign': 1}"
50 PuPlayer.LabelSet pBackglass,"ah10s",FormatNumber(weeklyvar(21),0),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 94.1, 'xalign': 2, 'ypos': 67, 'yalign': 1}"
51 end If
52
VisualBasic
1 Case 6
2 if osbkey="" then
3 clearhslabels
4 clearosblabels
5 DMDintroloop
6 Else
7 clearhslabels
8 PuPlayer.LabelSet pBackglass,"notetitle","Got A killer good High Score?",1,""
9 PuPlayer.LabelSet pBackglass,"notecopy","Post it to #stlevpx on instagram to brag.",1,""
10 playmedia "hposb2.mp4","videoattract",pBackglass,"",44000,"",1,14
11 PuPlayer.LabelSet pBackglass,"wh1n","1. " & alltimevar(2),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 9.8, 'xalign': 1, 'ypos': 31, 'yalign': 1}"
12 PuPlayer.LabelSet pBackglass,"wh1s",FormatNumber(alltimevar(3),0),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 26.1, 'xalign': 2, 'ypos': 31, 'yalign': 1}"
13 PuPlayer.LabelSet pBackglass,"wh2n","2. " & alltimevar(4),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 9.8, 'xalign': 1, 'ypos': 35, 'yalign': 1}"
14 PuPlayer.LabelSet pBackglass,"wh2s",FormatNumber(alltimevar(5),0),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 26.1, 'xalign': 2, 'ypos': 35, 'yalign': 1}"
15 PuPlayer.LabelSet pBackglass,"wh3n","3. " & alltimevar(6),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 9.8, 'xalign': 1, 'ypos': 39, 'yalign': 1}"
16 PuPlayer.LabelSet pBackglass,"wh3s",FormatNumber(alltimevar(7),0),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 26.1, 'xalign': 2, 'ypos': 39, 'yalign': 1}"
17 PuPlayer.LabelSet pBackglass,"wh4n","4. " & alltimevar(8),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 9.8, 'xalign': 1, 'ypos': 43, 'yalign': 1}"
18 PuPlayer.LabelSet pBackglass,"wh4s",FormatNumber(alltimevar(9),0),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 26.1, 'xalign': 2, 'ypos': 43, 'yalign': 1}"
19 PuPlayer.LabelSet pBackglass,"wh5n","5. " & alltimevar(10),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 9.8, 'xalign': 1, 'ypos': 47, 'yalign': 1}"
20 PuPlayer.LabelSet pBackglass,"wh5s",FormatNumber(alltimevar(11),0),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 26.1, 'xalign': 2, 'ypos': 47, 'yalign': 1}"
21 PuPlayer.LabelSet pBackglass,"wh6n","6. " & alltimevar(12),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 9.8, 'xalign': 1, 'ypos': 51, 'yalign': 1}"
22 PuPlayer.LabelSet pBackglass,"wh6s",FormatNumber(alltimevar(13),0),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 26.1, 'xalign': 2, 'ypos': 51, 'yalign': 1}"
23 PuPlayer.LabelSet pBackglass,"wh7n","7. " & alltimevar(14),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 9.8, 'xalign': 1, 'ypos': 55, 'yalign': 1}"
24 PuPlayer.LabelSet pBackglass,"wh7s",FormatNumber(alltimevar(15),0),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 26.1, 'xalign': 2, 'ypos': 55, 'yalign': 1}"
25 PuPlayer.LabelSet pBackglass,"wh8n","8. " & alltimevar(16),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 9.8, 'xalign': 1, 'ypos': 59, 'yalign': 1}"
26 PuPlayer.LabelSet pBackglass,"wh8s",FormatNumber(alltimevar(17),0),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 26.1, 'xalign': 2, 'ypos': 59, 'yalign': 1}"
27 PuPlayer.LabelSet pBackglass,"wh9n","9. " & alltimevar(18),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 9.8, 'xalign': 1, 'ypos': 63, 'yalign': 1}"
28 PuPlayer.LabelSet pBackglass,"wh9s",FormatNumber(alltimevar(19),0),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 26.1, 'xalign': 2, 'ypos': 63, 'yalign': 1}"
29 PuPlayer.LabelSet pBackglass,"wh10n","10. " & alltimevar(20),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 9.8, 'xalign': 1, 'ypos': 67, 'yalign': 1}"
30 PuPlayer.LabelSet pBackglass,"wh10s",FormatNumber(alltimevar(21),0),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 26.1, 'xalign': 2, 'ypos': 67, 'yalign': 1}"
31 PuPlayer.LabelSet pBackglass,"ah1n","11. " & alltimevar(22),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 76.8, 'xalign': 1, 'ypos': 31, 'yalign': 1}"
32 PuPlayer.LabelSet pBackglass,"ah1s",FormatNumber(alltimevar(23),0),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 94.1, 'xalign': 2, 'ypos': 31, 'yalign': 1}"
33 PuPlayer.LabelSet pBackglass,"ah2n","12. " & alltimevar(24),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 76.8, 'xalign': 1, 'ypos': 35, 'yalign': 1}"
34 PuPlayer.LabelSet pBackglass,"ah2s",FormatNumber(alltimevar(25),0),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 94.1, 'xalign': 2, 'ypos': 35, 'yalign': 1}"
35 PuPlayer.LabelSet pBackglass,"ah3n","13. " & alltimevar(26),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 76.8, 'xalign': 1, 'ypos': 39, 'yalign': 1}"
36 PuPlayer.LabelSet pBackglass,"ah3s",FormatNumber(alltimevar(27),0),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 94.1, 'xalign': 2, 'ypos': 39, 'yalign': 1}"
37 PuPlayer.LabelSet pBackglass,"ah4n","14. " & alltimevar(28),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 76.8, 'xalign': 1, 'ypos': 43, 'yalign': 1}"
38 PuPlayer.LabelSet pBackglass,"ah4s",FormatNumber(alltimevar(29),0),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 94.1, 'xalign': 2, 'ypos': 43, 'yalign': 1}"
39 PuPlayer.LabelSet pBackglass,"ah5n","15. " & alltimevar(30),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 76.8, 'xalign': 1, 'ypos': 47, 'yalign': 1}"
40 PuPlayer.LabelSet pBackglass,"ah5s",FormatNumber(alltimevar(31),0),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 94.1, 'xalign': 2, 'ypos': 47, 'yalign': 1}"
41 PuPlayer.LabelSet pBackglass,"ah6n","16. " & alltimevar(32),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 76.8, 'xalign': 1, 'ypos': 51, 'yalign': 1}"
42 PuPlayer.LabelSet pBackglass,"ah6s",FormatNumber(alltimevar(33),0),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 94.1, 'xalign': 2, 'ypos': 51, 'yalign': 1}"
43 PuPlayer.LabelSet pBackglass,"ah7n","17. " & alltimevar(34),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 76.8, 'xalign': 1, 'ypos': 55, 'yalign': 1}"
44 PuPlayer.LabelSet pBackglass,"ah7s",FormatNumber(alltimevar(35),0),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 94.1, 'xalign': 2, 'ypos': 55, 'yalign': 1}"
45 PuPlayer.LabelSet pBackglass,"ah8n","18. " & alltimevar(36),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 76.8, 'xalign': 1, 'ypos': 59, 'yalign': 1}"
46 PuPlayer.LabelSet pBackglass,"ah8s",FormatNumber(alltimevar(37),0),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 94.1, 'xalign': 2, 'ypos': 59, 'yalign': 1}"
47 PuPlayer.LabelSet pBackglass,"ah9n","19. " & alltimevar(38),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 76.8, 'xalign': 1, 'ypos': 63, 'yalign': 1}"
48 PuPlayer.LabelSet pBackglass,"ah9s",FormatNumber(alltimevar(39),0),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 94.1, 'xalign': 2, 'ypos': 63, 'yalign': 1}"
49 PuPlayer.LabelSet pBackglass,"ah10n","20. " & alltimevar(40),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 76.8, 'xalign': 1, 'ypos': 67, 'yalign': 1}"
50 PuPlayer.LabelSet pBackglass,"ah10s",FormatNumber(alltimevar(41),0),1,"{'mt':2,'color':15066597, 'size': 3, 'xpos': 94.1, 'xalign': 2, 'ypos': 67, 'yalign': 1}"
51 end If
52
We also need a clear sub to get rid of these labels anytime that we move on from this screen otherwise they can get stuck on.
VisualBasic
1sub clearosblabels
2 PuPlayer.LabelSet pBackglass,"wh1n","",1,""
3 PuPlayer.LabelSet pBackglass,"wh1s","",1,""
4 PuPlayer.LabelSet pBackglass,"wh2n","",1,""
5 PuPlayer.LabelSet pBackglass,"wh2s","",1,""
6 PuPlayer.LabelSet pBackglass,"wh3n","",1,""
7 PuPlayer.LabelSet pBackglass,"wh3s","",1,""
8 PuPlayer.LabelSet pBackglass,"wh4n","",1,""
9 PuPlayer.LabelSet pBackglass,"wh4s","",1,""
10 PuPlayer.LabelSet pBackglass,"wh5n","",1,""
11 PuPlayer.LabelSet pBackglass,"wh5s","",1,""
12 PuPlayer.LabelSet pBackglass,"wh6n","",1,""
13 PuPlayer.LabelSet pBackglass,"wh6s","",1,""
14 PuPlayer.LabelSet pBackglass,"wh7n","",1,""
15 PuPlayer.LabelSet pBackglass,"wh7s","",1,""
16 PuPlayer.LabelSet pBackglass,"wh8n","",1,""
17 PuPlayer.LabelSet pBackglass,"wh8s","",1,""
18 PuPlayer.LabelSet pBackglass,"wh9n","",1,""
19 PuPlayer.LabelSet pBackglass,"wh9s","",1,""
20 PuPlayer.LabelSet pBackglass,"wh10n","",1,""
21 PuPlayer.LabelSet pBackglass,"wh10s","",1,""
22 PuPlayer.LabelSet pBackglass,"ah1n","",1,""
23 PuPlayer.LabelSet pBackglass,"ah1s","",1,""
24 PuPlayer.LabelSet pBackglass,"ah2n","",1,""
25 PuPlayer.LabelSet pBackglass,"ah2s","",1,""
26 PuPlayer.LabelSet pBackglass,"ah3n","",1,""
27 PuPlayer.LabelSet pBackglass,"ah3s","",1,""
28 PuPlayer.LabelSet pBackglass,"ah4n","",1,""
29 PuPlayer.LabelSet pBackglass,"ah4s","",1,""
30 PuPlayer.LabelSet pBackglass,"ah5n","",1,""
31 PuPlayer.LabelSet pBackglass,"ah5s","",1,""
32 PuPlayer.LabelSet pBackglass,"ah6n","",1,""
33 PuPlayer.LabelSet pBackglass,"ah6s","",1,""
34 PuPlayer.LabelSet pBackglass,"ah7n","",1,""
35 PuPlayer.LabelSet pBackglass,"ah7s","",1,""
36 PuPlayer.LabelSet pBackglass,"ah8n","",1,""
37 PuPlayer.LabelSet pBackglass,"ah8s","",1,""
38 PuPlayer.LabelSet pBackglass,"ah9n","",1,""
39 PuPlayer.LabelSet pBackglass,"ah9s","",1,""
40 PuPlayer.LabelSet pBackglass,"ah10n","",1,""
41 PuPlayer.LabelSet pBackglass,"ah10s","",1,""
42 end Sub
Updated 25 Mar 2024
Did this page help you?