COUNTER score_loop = 0
COUNTER store_p1
COUNTER store_p2
COUNTER store_p3
COUNTER store_p4

COUNTER store_cdn = 0

loading_score:

SET main = 0

WHILE_EXEC (score_loop = 0)

// XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
// XXXXXXXXXXXXXXXXXXXXXXXXXX                         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
// XXXXXXXXXXXXXXXXXXXXXXXXXX     STORE SCORE        XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
// XXXXXXXXXXXXXXXXXXXXXXXXXX                         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
// XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
STORE_SCORE ( p1 , store_p1 )
STORE_SCORE ( p2 , store_p2 )
STORE_SCORE ( p3 , store_p3 )
STORE_SCORE ( p4 , store_p4 )

IF ( store_cdn = 0 )
// p1
 IF (CHECK_SCORE_GREATER ( p1 , 9999 ))
  ADD_SCORE_NO_MULT ( p1, -10000 )
 ENDIF
 IF ((CHECK_SCORE_GREATER ( p1 , 999 ))
 AND (NOT(CHECK_SCORE_GREATER ( p1 , 9999 ))))
  ADD_SCORE_NO_MULT ( p1, -1000 )
 ENDIF
 IF ((CHECK_SCORE_GREATER ( p1 , 99 ))
 AND (NOT(CHECK_SCORE_GREATER ( p1 , 999 ))))
  ADD_SCORE_NO_MULT ( p1, -100 )
 ENDIF
 IF ((CHECK_SCORE_GREATER ( p1 , 9 ))
 AND (NOT(CHECK_SCORE_GREATER ( p1 , 99 ))))
  ADD_SCORE_NO_MULT ( p1, -10 )
 ENDIF
 IF ((CHECK_SCORE_GREATER ( p1 , 0 ))
 AND (NOT(CHECK_SCORE_GREATER ( p1 , 9 ))))
  ADD_SCORE_NO_MULT ( p1, -1 )
 ENDIF
// p2
 IF (CHECK_SCORE_GREATER ( p2 , 9999 ))
  ADD_SCORE_NO_MULT ( p2, -10000 )
 ENDIF
 IF ((CHECK_SCORE_GREATER ( p2 , 999 ))
 AND (NOT(CHECK_SCORE_GREATER ( p2 , 9999 ))))
  ADD_SCORE_NO_MULT ( p2, -1000 )
 ENDIF
 IF ((CHECK_SCORE_GREATER ( p2 , 99 ))
 AND (NOT(CHECK_SCORE_GREATER ( p2 , 999 ))))
  ADD_SCORE_NO_MULT ( p2, -100 )
 ENDIF
 IF ((CHECK_SCORE_GREATER ( p2 , 9 ))
 AND (NOT(CHECK_SCORE_GREATER ( p2 , 99 ))))
  ADD_SCORE_NO_MULT ( p2, -10 )
 ENDIF
 IF ((CHECK_SCORE_GREATER ( p2 , 0 ))
 AND (NOT(CHECK_SCORE_GREATER ( p2 , 9 ))))
  ADD_SCORE_NO_MULT ( p2, -1 )
 ENDIF
// p3
 IF (CHECK_SCORE_GREATER ( p3 , 9999 ))
  ADD_SCORE_NO_MULT ( p3, -10000 )
 ENDIF
 IF ((CHECK_SCORE_GREATER ( p3 , 999 ))
 AND (NOT(CHECK_SCORE_GREATER ( p3 , 9999 ))))
  ADD_SCORE_NO_MULT ( p3, -1000 )
 ENDIF
 IF ((CHECK_SCORE_GREATER ( p3 , 99 ))
 AND (NOT(CHECK_SCORE_GREATER ( p3 , 999 ))))
  ADD_SCORE_NO_MULT ( p3, -100 )
 ENDIF
 IF ((CHECK_SCORE_GREATER ( p3 , 9 ))
 AND (NOT(CHECK_SCORE_GREATER ( p3 , 99 ))))
  ADD_SCORE_NO_MULT ( p3, -10 )
 ENDIF
 IF ((CHECK_SCORE_GREATER ( p3 , 0 ))
 AND (NOT(CHECK_SCORE_GREATER ( p3 , 9 ))))
  ADD_SCORE_NO_MULT ( p3, -1 )
 ENDIF
// p4
 IF (CHECK_SCORE_GREATER ( p4 , 9999 ))
  ADD_SCORE_NO_MULT ( p4, -10000 )
 ENDIF
 IF ((CHECK_SCORE_GREATER ( p4 , 999 ))
 AND (NOT(CHECK_SCORE_GREATER ( p4 , 9999 ))))
  ADD_SCORE_NO_MULT ( p4, -1000 )
 ENDIF
 IF ((CHECK_SCORE_GREATER ( p4 , 99 ))
 AND (NOT(CHECK_SCORE_GREATER ( p4 , 999 ))))
  ADD_SCORE_NO_MULT ( p4, -100 )
 ENDIF
 IF ((CHECK_SCORE_GREATER ( p4 , 9 ))
 AND (NOT(CHECK_SCORE_GREATER ( p4 , 99 ))))
  ADD_SCORE_NO_MULT ( p4, -10 )
 ENDIF
 IF ((CHECK_SCORE_GREATER ( p4 , 0 ))
 AND (NOT(CHECK_SCORE_GREATER ( p4 , 9 ))))
  ADD_SCORE_NO_MULT ( p4, -1 )
 ENDIF
ENDIF

// all maja 0 pkt
IF ((((( store_p1 = 0 )
AND ( store_p2 = 0 ))
AND ( store_p3 = 0 ))
AND ( store_p4 = 0 ))
AND ( store_cdn = 0 ))
 SET store_cdn = 1
ENDIF

// XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
// XXXXXXXXXXXXXXXXXXXXXXXXXX                         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
// XXXXXXXXXXXXXXXXXXXXXXXXXX          4 PLACE        XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
// XXXXXXXXXXXXXXXXXXXXXXXXXX                         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
// XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
IF ( store_cdn = 1 )
IF ( podium = 5 )

// BMW - 4 miejsce 
 IF ( laps_bmw = 94 )
  IF ( p1_wybor = 1 )
   ADD_SCORE_NO_MULT ( p1, 4000 )
   SET podium = 4
  ENDIF
  IF ( p2_wybor = 1 )
   ADD_SCORE_NO_MULT ( p2, 4000 )
   SET podium = 4
  ENDIF 
  IF ( p3_wybor = 1 )
   ADD_SCORE_NO_MULT ( p3, 4000 )
   SET podium = 3
  ENDIF 
  IF ( p4_wybor = 1 )
   ADD_SCORE_NO_MULT ( p4, 4000 )
   SET podium = 4
  ENDIF 
 ENDIF
// FERRARI - 4 miejsce 
 IF ( laps_ferrari = 94 )
  IF ( p1_wybor = 2 )
   ADD_SCORE_NO_MULT ( p1, 4000 )
   SET podium = 4
  ENDIF
  IF ( p2_wybor = 2 )
   ADD_SCORE_NO_MULT ( p2, 4000 )
   SET podium = 4
  ENDIF 
  IF ( p3_wybor = 2 )
   ADD_SCORE_NO_MULT ( p3, 4000 )
   SET podium = 4
  ENDIF 
  IF ( p4_wybor = 2 )
   ADD_SCORE_NO_MULT ( p4, 4000 )
   SET podium = 4
  ENDIF 
 ENDIF 
// BRAWN - 4 miejsce 
 IF ( laps_brawn = 94 )
  IF ( p1_wybor = 3 )
   ADD_SCORE_NO_MULT ( p1, 4000 )
   SET podium = 4
  ENDIF
  IF ( p2_wybor = 3 )
   ADD_SCORE_NO_MULT ( p2, 4000 )
   SET podium = 4
  ENDIF 
  IF ( p3_wybor = 3 )
   ADD_SCORE_NO_MULT ( p3, 4000 )
   SET podium = 4
  ENDIF 
  IF ( p4_wybor = 3 )
   ADD_SCORE_NO_MULT ( p4, 4000 )
   SET podium = 4
  ENDIF 
 ENDIF  
// REDBULL - 4 miejsce 
 IF ( laps_redbull = 94 )
  IF ( p1_wybor = 4 )
   ADD_SCORE_NO_MULT ( p1, 4000 )
   SET podium = 4
  ENDIF
  IF ( p2_wybor = 4 )
   ADD_SCORE_NO_MULT ( p2, 4000 )
   SET podium = 4
  ENDIF 
  IF ( p3_wybor = 4 )
   ADD_SCORE_NO_MULT ( p3, 4000 )
   SET podium = 4
  ENDIF 
  IF ( p4_wybor = 4 )
   ADD_SCORE_NO_MULT ( p4, 4000 )
   SET podium = 4
  ENDIF 
 ENDIF
// MCLAREN - 4 miejsce 
 IF ( laps_mclaren = 94 )
  IF ( p1_wybor = 5 )
   ADD_SCORE_NO_MULT ( p1, 4000 )
   SET podium = 4
  ENDIF
  IF ( p2_wybor = 5 )
   ADD_SCORE_NO_MULT ( p2, 4000 )
   SET podium = 4
  ENDIF 
  IF ( p3_wybor = 5 )
   ADD_SCORE_NO_MULT ( p3, 4000 )
   SET podium = 4
  ENDIF 
  IF ( p4_wybor = 5 )
   ADD_SCORE_NO_MULT ( p4, 4000 )
   SET podium = 4
  ENDIF 
 ENDIF  
// RENAULT - 4 miejsce 
 IF ( laps_renault = 94 )
  IF ( p1_wybor = 6 )
   ADD_SCORE_NO_MULT ( p1, 4000 )
   SET podium = 4
  ENDIF
  IF ( p2_wybor = 6 )
   ADD_SCORE_NO_MULT ( p2, 4000 )
   SET podium = 4
  ENDIF 
  IF ( p3_wybor = 6 )
   ADD_SCORE_NO_MULT ( p3, 4000 )
   SET podium = 4
  ENDIF 
  IF ( p4_wybor = 6 )
   ADD_SCORE_NO_MULT ( p4, 4000 )
   SET podium = 4
  ENDIF 
 ENDIF
 
ENDIF  

// XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
// XXXXXXXXXXXXXXXXXXXXXXXXXX                         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
// XXXXXXXXXXXXXXXXXXXXXXXXXX          3 PLACE        XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
// XXXXXXXXXXXXXXXXXXXXXXXXXX                         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
// XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

IF (podium = 4)
 
// BMW - 3 miejsce 
 IF ( laps_bmw = 93 )
  IF ( p1_wybor = 1 )
   ADD_SCORE_NO_MULT ( p1, 30000 )
   SET podium = 3
  ENDIF
  IF ( p2_wybor = 1 )
   ADD_SCORE_NO_MULT ( p2, 30000 )
   SET podium = 3
  ENDIF 
  IF ( p3_wybor = 1 )
   ADD_SCORE_NO_MULT ( p3, 30000 )
   SET podium = 3
  ENDIF 
  IF ( p4_wybor = 1 )
   ADD_SCORE_NO_MULT ( p4, 30000 )
   SET podium = 3
  ENDIF 
 ENDIF
// FERRARI - 3 miejsce 
 IF ( laps_ferrari = 93 )
  IF ( p1_wybor = 2 )
   ADD_SCORE_NO_MULT ( p1, 30000 )
   SET podium = 3
  ENDIF
  IF ( p2_wybor = 2 )
   ADD_SCORE_NO_MULT ( p2, 30000 )
   SET podium = 3
  ENDIF 
  IF ( p3_wybor = 2 )
   ADD_SCORE_NO_MULT ( p3, 30000 )
   SET podium = 3
  ENDIF 
  IF ( p4_wybor = 2 )
   ADD_SCORE_NO_MULT ( p4, 30000 )
   SET podium = 3
  ENDIF 
 ENDIF 
// BRAWN - 3 miejsce 
 IF ( laps_brawn = 93 )
  IF ( p1_wybor = 3 )
   ADD_SCORE_NO_MULT ( p1, 30000 )
   SET podium = 3
  ENDIF
  IF ( p2_wybor = 3 )
   ADD_SCORE_NO_MULT ( p2, 30000 )
   SET podium = 3
  ENDIF 
  IF ( p3_wybor = 3 )
   ADD_SCORE_NO_MULT ( p3, 30000 )
   SET podium = 3
  ENDIF 
  IF ( p4_wybor = 3 )
   ADD_SCORE_NO_MULT ( p4, 30000 )
   SET podium = 3
  ENDIF 
 ENDIF  
// REDBULL - 3 miejsce 
 IF ( laps_redbull = 93 )
  IF ( p1_wybor = 4 )
   ADD_SCORE_NO_MULT ( p1, 30000 )
   SET podium = 3
  ENDIF
  IF ( p2_wybor = 4 )
   ADD_SCORE_NO_MULT ( p2, 30000 )
   SET podium = 3
  ENDIF 
  IF ( p3_wybor = 4 )
   ADD_SCORE_NO_MULT ( p3, 30000 )
   SET podium = 3
  ENDIF 
  IF ( p4_wybor = 4 )
   ADD_SCORE_NO_MULT ( p4, 30000 )
   SET podium = 3
  ENDIF 
 ENDIF
// MCLAREN - 3 miejsce 
 IF ( laps_mclaren = 93 )
  IF ( p1_wybor = 5 )
   ADD_SCORE_NO_MULT ( p1, 30000 )
   SET podium = 3
  ENDIF
  IF ( p2_wybor = 5 )
   ADD_SCORE_NO_MULT ( p2, 30000 )
   SET podium = 3
  ENDIF 
  IF ( p3_wybor = 5 )
   ADD_SCORE_NO_MULT ( p3, 30000 )
   SET podium = 3
  ENDIF 
  IF ( p4_wybor = 5 )
   ADD_SCORE_NO_MULT ( p4, 30000 )
   SET podium = 3
  ENDIF 
 ENDIF  
// RENAULT - 3 miejsce 
 IF ( laps_renault = 93 )
  IF ( p1_wybor = 6 )
   ADD_SCORE_NO_MULT ( p1, 30000 )
   SET podium = 3
  ENDIF
  IF ( p2_wybor = 6 )
   ADD_SCORE_NO_MULT ( p2, 30000 )
   SET podium = 3
  ENDIF 
  IF ( p3_wybor = 6 )
   ADD_SCORE_NO_MULT ( p3, 30000 )
   SET podium = 3
  ENDIF 
  IF ( p4_wybor = 6 )
   ADD_SCORE_NO_MULT ( p4, 30000 )
   SET podium = 3
  ENDIF 
 ENDIF
 
ENDIF  
 
// XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
// XXXXXXXXXXXXXXXXXXXXXXXXXX                         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
// XXXXXXXXXXXXXXXXXXXXXXXXXX          2 PLACE        XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
// XXXXXXXXXXXXXXXXXXXXXXXXXX                         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
// XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

IF (podium = 3)
 
// BMW - 2 miejsce 
 IF ( laps_bmw = 92 )
  IF ( p1_wybor = 1 )
   ADD_SCORE_NO_MULT ( p1, 200000 )
   SET podium = 2
  ENDIF
  IF ( p2_wybor = 1 )
   ADD_SCORE_NO_MULT ( p2, 200000 )
   SET podium = 2
  ENDIF 
  IF ( p3_wybor = 1 )
   ADD_SCORE_NO_MULT ( p3, 200000 )
   SET podium = 2
  ENDIF 
  IF ( p4_wybor = 1 )
   ADD_SCORE_NO_MULT ( p4, 200000 )
   SET podium = 3
  ENDIF 
 ENDIF
// FERRARI - 2 miejsce 
 IF ( laps_ferrari = 92 )
  IF ( p1_wybor = 2 )
   ADD_SCORE_NO_MULT ( p1, 200000 )
   SET podium = 2
  ENDIF
  IF ( p2_wybor = 2 )
   ADD_SCORE_NO_MULT ( p2, 200000 )
   SET podium = 2
  ENDIF 
  IF ( p3_wybor = 2 )
   ADD_SCORE_NO_MULT ( p3, 200000 )
   SET podium = 2
  ENDIF 
  IF ( p4_wybor = 2 )
   ADD_SCORE_NO_MULT ( p4, 200000 )
   SET podium = 2
  ENDIF 
 ENDIF 
// BRAWN - 2 miejsce 
 IF ( laps_brawn = 92 )
  IF ( p1_wybor = 3 )
   ADD_SCORE_NO_MULT ( p1, 200000 )
   SET podium = 2
  ENDIF
  IF ( p2_wybor = 3 )
   ADD_SCORE_NO_MULT ( p2, 200000 )
   SET podium = 2
  ENDIF 
  IF ( p3_wybor = 3 )
   ADD_SCORE_NO_MULT ( p3, 200000 )
   SET podium = 2
  ENDIF 
  IF ( p4_wybor = 3 )
   ADD_SCORE_NO_MULT ( p4, 200000 )
   SET podium = 2
  ENDIF 
 ENDIF  
// REDBULL - 2 miejsce 
 IF ( laps_redbull = 92 )
  IF ( p1_wybor = 4 )
   ADD_SCORE_NO_MULT ( p1, 200000 )
   SET podium = 2
  ENDIF
  IF ( p2_wybor = 4 )
   ADD_SCORE_NO_MULT ( p2, 200000 )
   SET podium = 2
  ENDIF 
  IF ( p3_wybor = 4 )
   ADD_SCORE_NO_MULT ( p3, 200000 )
   SET podium = 2
  ENDIF 
  IF ( p4_wybor = 4 )
   ADD_SCORE_NO_MULT ( p4, 200000 )
   SET podium = 2
  ENDIF 
 ENDIF
// MCLAREN - 2 miejsce 
 IF ( laps_mclaren = 92 )
  IF ( p1_wybor = 5 )
   ADD_SCORE_NO_MULT ( p1, 200000 )
   SET podium = 2
  ENDIF
  IF ( p2_wybor = 5 )
   ADD_SCORE_NO_MULT ( p2, 200000 )
   SET podium = 2
  ENDIF 
  IF ( p3_wybor = 5 )
   ADD_SCORE_NO_MULT ( p3, 200000 )
   SET podium = 2
  ENDIF 
  IF ( p4_wybor = 5 )
   ADD_SCORE_NO_MULT ( p4, 200000 )
   SET podium = 2
  ENDIF 
 ENDIF  
// RENAULT - 2 miejsce 
 IF ( laps_renault = 92 )
  IF ( p1_wybor = 6 )
   ADD_SCORE_NO_MULT ( p1, 200000 )
   SET podium = 2
  ENDIF
  IF ( p2_wybor = 6 )
   ADD_SCORE_NO_MULT ( p2, 200000 )
   SET podium = 2
  ENDIF 
  IF ( p3_wybor = 6 )
   ADD_SCORE_NO_MULT ( p3, 200000 )
   SET podium = 2
  ENDIF 
  IF ( p4_wybor = 6 )
   ADD_SCORE_NO_MULT ( p4, 200000 )
   SET podium = 2
  ENDIF 
 ENDIF
 
ENDIF 


// XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
// XXXXXXXXXXXXXXXXXXXXXXXXXX                         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
// XXXXXXXXXXXXXXXXXXXXXXXXXX          1 PLACE        XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
// XXXXXXXXXXXXXXXXXXXXXXXXXX                         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
// XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

IF (podium = 2)
 
// BMW - 1 miejsce 
 IF ( laps_bmw = 91 )
  IF ( p1_wybor = 1 )
   ADD_SCORE_NO_MULT ( p1, 1000000 )
   SET podium = 1
  ENDIF
  IF ( p2_wybor = 1 )
   ADD_SCORE_NO_MULT ( p2, 1000000 )
   SET podium = 1
  ENDIF 
  IF ( p3_wybor = 1 )
   ADD_SCORE_NO_MULT ( p3, 1000000 )
   SET podium = 1
  ENDIF 
  IF ( p4_wybor = 1 )
   ADD_SCORE_NO_MULT ( p4, 1000000 )
   SET podium = 1
  ENDIF 
 ENDIF
// FERRARI - 1 miejsce 
 IF ( laps_ferrari = 91 )
  IF ( p1_wybor = 2 )
   ADD_SCORE_NO_MULT ( p1, 1000000 )
   SET podium = 1
  ENDIF
  IF ( p2_wybor = 2 )
   ADD_SCORE_NO_MULT ( p2, 1000000 )
   SET podium = 1
  ENDIF 
  IF ( p3_wybor = 2 )
   ADD_SCORE_NO_MULT ( p3, 1000000 )
   SET podium = 1
  ENDIF 
  IF ( p4_wybor = 2 )
   ADD_SCORE_NO_MULT ( p4, 1000000 )
   SET podium = 1
  ENDIF 
 ENDIF 
// BRAWN - 1 miejsce 
 IF ( laps_brawn = 91 )
  IF ( p1_wybor = 3 )
   ADD_SCORE_NO_MULT ( p1, 1000000 )
   SET podium = 1
  ENDIF
  IF ( p2_wybor = 3 )
   ADD_SCORE_NO_MULT ( p2, 1000000 )
   SET podium = 1
  ENDIF 
  IF ( p3_wybor = 3 )
   ADD_SCORE_NO_MULT ( p3, 1000000 )
   SET podium = 1
  ENDIF 
  IF ( p4_wybor = 3 )
   ADD_SCORE_NO_MULT ( p4, 1000000 )
   SET podium = 1
  ENDIF 
 ENDIF  
// REDBULL - 1 miejsce 
 IF ( laps_redbull = 91 )
  IF ( p1_wybor = 4 )
   ADD_SCORE_NO_MULT ( p1, 1000000 )
   SET podium = 1
  ENDIF
  IF ( p2_wybor = 4 )
   ADD_SCORE_NO_MULT ( p2, 1000000 )
   SET podium = 1
  ENDIF 
  IF ( p3_wybor = 4 )
   ADD_SCORE_NO_MULT ( p3, 1000000 )
   SET podium = 1
  ENDIF 
  IF ( p4_wybor = 4 )
   ADD_SCORE_NO_MULT ( p4, 1000000 )
   SET podium = 1
  ENDIF 
 ENDIF
// MCLAREN - 1 miejsce 
 IF ( laps_mclaren = 91 )
  IF ( p1_wybor = 5 )
   ADD_SCORE_NO_MULT ( p1, 1000000 )
   SET podium = 1
  ENDIF
  IF ( p2_wybor = 5 )
   ADD_SCORE_NO_MULT ( p2, 1000000 )
   SET podium = 1
  ENDIF 
  IF ( p3_wybor = 5 )
   ADD_SCORE_NO_MULT ( p3, 1000000 )
   SET podium = 1
  ENDIF 
  IF ( p4_wybor = 5 )
   ADD_SCORE_NO_MULT ( p4, 1000000 )
   SET podium = 1
  ENDIF 
 ENDIF  
// RENAULT - 1 miejsce 
 IF ( laps_renault = 91 )
  IF ( p1_wybor = 6 )
   ADD_SCORE_NO_MULT ( p1, 1000000 )
   SET podium = 1
  ENDIF
  IF ( p2_wybor = 6 )
   ADD_SCORE_NO_MULT ( p2, 1000000 )
   SET podium = 1
  ENDIF 
  IF ( p3_wybor = 6 )
   ADD_SCORE_NO_MULT ( p3, 1000000 )
   SET podium = 1
  ENDIF 
  IF ( p4_wybor = 6 )
   ADD_SCORE_NO_MULT ( p4, 1000000 )
   SET podium = 1
  ENDIF 
 ENDIF
 
ENDIF 
ENDIF 
 
IF ( podium = 1 )
 SET score_loop = 1
ENDIF
 
ENDWHILE


SET main = 1
MISSION_HAS_FINISHED ( )
RETURN
 
 
MISSIONSTART

GOSUB loading_score:

MISSIONEND 
