Jump to content

help with petrol mod


psy145

Recommended Posts

if i send someone my main.scm can you add the petrol mod for me then send it back? because i have no idea how to do it

 

link: http://files.filefront.com/mainscm/;9146930;/filei

 

 

:MAPINIT_348

03A4: name_thread "PETROL"

0209: $11009.75 = random_int  10  100

0004: $11008.75 = -1 ;; integer values

0004: $11007.75 =  0 ;; integer values

0004: $11006.75 =  0 ;; integer values

0084: $11006.75 = $11009.75 ;; integer values and handles

0010: $11006.75 *=  10 ;; integer values

000E: $11006.75 -=  10 ;; integer values

0004: $11005.75 =  0 ;; integer values

0084: $11007.75 = $11009.75 ;; integer values and handles

0010: $11007.75 *=  10 ;; integer values

03BC: $11004.75 = create_sphere  41.797 -1055.334  9.368  2.0

03BC: $11004.75 = create_sphere -868.786 -111.724  9.902  2.0

 

:MAPINIT_361

0001: wait  0 ms

00D6: if  0

0038:   $ON_MISSION ==  0 ;; integer values

004D: jump_if_false ££MAPINIT_361

00D6: if  0

00DF:   actor $PLAYER_ACTOR driving

004D: jump_if_false ££MAPINIT_361

03C0: $11008.75 = actor $PLAYER_ACTOR car

 

:MAPINIT_369

0001: wait  0 ms

00D6: if  5

8137:   NOT   car $11008.75 id == #BMX

8137:   NOT   car $11008.75 id == #BIKE

8137:   NOT   car $11008.75 id == #MTBIKE

8137:   NOT   car $11008.75 id == #FREIGHT

8137:   NOT   car $11008.75 id == #BAGGAGE

8137:   NOT   car $11008.75 id == #SWEEPER

004D: jump_if_false ££MAPINIT_361

00D6: if  5

8137:   NOT   car $11008.75 id == #STREAKC

8137:   NOT   car $11008.75 id == #STREAK

8137:   NOT   car $11008.75 id == #TRAM

8137:   NOT   car $11008.75 id == #CADDY

8137:   NOT   car $11008.75 id == #FREIFLAT

8137:   NOT   car $11008.75 id == #FREIBOX

004D: jump_if_false ££MAPINIT_361

0001: wait  0 ms

04F7: status_text $11009.75  1 line  1 'PETRST'

00D6: if  0

00DF:   actor $PLAYER_ACTOR driving

004D: jump_if_false ££MAPINIT_494

 

:MAPINIT_391

0001: wait  0 ms

0652: $11003.75 = stat  160 (driving skill) ; integer

00D6: if  0

00DF:   actor $PLAYER_ACTOR driving

004D: jump_if_false ££MAPINIT_494

00D6: if  0

0018:   $11009.75 >  0 ;; integer values

004D: jump_if_false ££MAPINIT_509

02E3: $11005.75 = car $11008.75 speed

0011: $11005.75 *=  4.0 ;; floating-point values

008C: $11005.75 = float_to_integer $11005.75

00D6: if  0

0019:   $11005.75 >  1 ;; integer values

004D: jump_if_false ££MAPINIT_421

00D6: if  0

0019:   $11005.75 >  15 ;; integer values

004D: jump_if_false ££MAPINIT_424

00D6: if  0

0019:   $11005.75 >  90 ;; integer values

004D: jump_if_false ££MAPINIT_427

00D6: if  0

0019:   $11005.75 >  150 ;; integer values

004D: jump_if_false ££MAPINIT_430

00D6: if  0

0019:   $11005.75 >  200 ;; integer values

004D: jump_if_false ££MAPINIT_433

00D6: if  0

0019:   $11005.75 >  250 ;; integer values

004D: jump_if_false ££MAPINIT_436

0002: jump ££MAPINIT_439

 

:MAPINIT_421

0001: wait  0 ms

0004: $11002.75 =  7000 ;; integer values

0002: jump ££MAPINIT_442

 

:MAPINIT_424

0001: wait  0 ms

0004: $11002.75 =  6000 ;; integer values

0002: jump ££MAPINIT_442

 

:MAPINIT_427

0001: wait  0 ms

0004: $11002.75 =  5000 ;; integer values

0002: jump ££MAPINIT_442

 

:MAPINIT_430

0001: wait  0 ms

0004: $11002.75 =  4000 ;; integer values

0002: jump ££MAPINIT_442

 

:MAPINIT_433

0001: wait  0 ms

0004: $11002.75 =  3000 ;; integer values

0002: jump ££MAPINIT_442

 

:MAPINIT_436

0001: wait  0 ms

0004: $11002.75 =  2000 ;; integer values

0002: jump ££MAPINIT_442

 

:MAPINIT_439

0001: wait  0 ms

0004: $11002.75 =  1000 ;; integer values

0002: jump ££MAPINIT_442

 

:MAPINIT_442

0001: wait  0 ms

0652: $11001.75 = stat  223 (pilot skill) ; integer

00D6: if  0

04C8: $PLAYER_ACTOR

004D: jump_if_false ££MAPINIT_450

0005: $11000.75 =  2.5 ;; floating-point values

0050: gosub ££MAPINIT_477

0002: jump ££MAPINIT_469

 

:MAPINIT_450

0001: wait  0 ms

0652: $11001.75 = stat  160 (driving skill) ; integer

00D6: if  0

04AB: $PLAYER_ACTOR

004D: jump_if_false ££MAPINIT_458

0005: $11000.75 =  1.5 ;; floating-point values

0050: gosub ££MAPINIT_477

0002: jump ££MAPINIT_469

 

:MAPINIT_458

0001: wait  0 ms

0652: $11001.75 = stat  229 (bike skill) ; integer

00D6: if  0

047A: $PLAYER_ACTOR

004D: jump_if_false ££MAPINIT_466

0005: $11000.75 =  .85 ;; floating-point values

0050: gosub ££MAPINIT_477

0002: jump ££MAPINIT_469

 

:MAPINIT_466

0001: wait  0 ms

0652: $11001.75 = stat  160 (driving skill) ; integer

0002: jump ££MAPINIT_469

 

:MAPINIT_469

0001: wait  0 ms

00D6: if  0

0018:   $11001.75 >  500 ;; integer values

004D: jump_if_false ££MAPINIT_481

0093: $11000.75 = integer_to_float $11001.75 

0015: $11000.75 /=  500.0 ;; floating-point values

0050: gosub ££MAPINIT_477

0002: jump ££MAPINIT_481

 

:MAPINIT_477

0093: $10999.75 = integer_to_float $11002.75 

0069: $10999.75 *= $11000.75 ;; floating-point values

0092: $11002.75 = float_to_integer $10999.75 

0051: return

 

:MAPINIT_481

0001: wait  200 ms

0001: wait $11002.75 ms

000E: $11007.75 -=  10 ;; integer values

00D6: if  0

001C:   $11006.75 > $11007.75 ;; integer values

004D: jump_if_false ££MAPINIT_391

000E: $11006.75 -=  10 ;; integer values

000E: $11009.75 -=  1 ;; integer values

0002: jump ££MAPINIT_391

 

:MAPINIT_490

0001: wait  0 ms

0209: $11009.75 = random_int  35  100

03C0: $11008.75 = actor $PLAYER_ACTOR car

0002: jump ££MAPINIT_369

 

:MAPINIT_494

0001: wait  0 ms

0151: remove_status_text $11009.75

0002: jump ££MAPINIT_497

 

:MAPINIT_497

0001: wait  0 ms

00D6: if  0

0038:   $ON_MISSION ==  0 ;; integer values

004D: jump_if_false ££MAPINIT_497

00D6: if  0

00DF:   actor $PLAYER_ACTOR driving

004D: jump_if_false ££MAPINIT_497

00D6: if  1

0448:   actor $PLAYER_ACTOR in_car $11008.75

00DF:   actor $PLAYER_ACTOR driving

004D: jump_if_false ££MAPINIT_490

0002: jump ££MAPINIT_369

 

:MAPINIT_509

0001: wait  0 ms

01B4: set_player $PLAYER_CHAR frozen_state  0 (frozen)

02D4: unknown_turn_off_car $11008.75 engine

01B4: set_player $PLAYER_CHAR frozen_state  1 (unfrozen)

0001: wait  1000 ms

0002: jump ££MAPINIT_391

 

:MAPINIT_515

0001: wait  0 ms

03A4: name_thread "PETROLST"

04CE: $10998.75 = create_icon_marker_without_sphere  55 at -90.0 -1168.5  45.0

04CE: $10997.75 = create_icon_marker_without_sphere  55 at  2640.0  1107.0  45.0

04CE: $10996.75 = create_icon_marker_without_sphere  55 at  2114.0  920.5  45.0

04CE: $10995.75 = create_icon_marker_without_sphere  55 at  1596.0  2199.0  45.0

04CE: $10994.75 = create_icon_marker_without_sphere  55 at  2202.0  2474.5  45.0

04CE: $10993.75 = create_icon_marker_without_sphere  55 at  2148.0  2748.5  45.0

04CE: $10992.75 = create_icon_marker_without_sphere  55 at -1328.5  1863.0  45.0

04CE: $10991.75 = create_icon_marker_without_sphere  55 at -1471.0 -1168.5  45.0

04CE: $10990.75 = create_icon_marker_without_sphere  55 at -2410.0  975.0  45.0

04CE: $10989.75 = create_icon_marker_without_sphere  55 at -2243.5 -2561.0  45.0

04CE: $10988.75 = create_icon_marker_without_sphere  55 at -1606.0 -2714.5  45.0

04CE: $10987.75 = create_icon_marker_without_sphere  55 at  1382.5  460.5  45.0

04CE: $10986.75 = create_icon_marker_without_sphere  55 at  655.0 -564.5  45.0

04CE: $10985.75 = create_icon_marker_without_sphere  55 at -1676.0  413.0  45.0

04CE: $10984.75 = create_icon_marker_without_sphere  55 at  615.0  1693.0  45.0

04CE: $10983.75 = create_icon_marker_without_sphere  55 at  1943.0 -1773.5  45.0

04CE: $10982.75 = create_icon_marker_without_sphere  5 at -1289.4 -11.0  14.3

04CE: $10981.75 = create_icon_marker_without_sphere  5 at  1445.4 -2436.2  13.5

04CE: $10980.75 = create_icon_marker_without_sphere  5 at  1580.5  1451.4  11.0

 

:MAPINIT_536

0001: wait  0 ms

00D6: if  0

0038:   $ON_MISSION ==  0 ;; integer values

004D: jump_if_false ££MAPINIT_536

00D6: if  0

00DF:   actor $PLAYER_ACTOR driving

004D: jump_if_false ££MAPINIT_536

00D6: if  6

8103:   NOT   actor $PLAYER_ACTOR stopped_near_point_in_car  2640.0  1107.0  10.0 radius  5.5  8.7  2.0 sphere  0 

8103:   NOT   actor $PLAYER_ACTOR stopped_near_point_in_car  2114.0  919.0  11.0 radius  5.5  8.7  2.0 sphere  0 

8103:   NOT   actor $PLAYER_ACTOR stopped_near_point_in_car  1597.0  2199.0  11.5 radius  5.5  8.7  2.0 sphere  0 

8103:   NOT   actor $PLAYER_ACTOR stopped_near_point_in_car  2202.0  2473.0  11.0 radius  8.7  5.5  2.0 sphere  0 

8103:   NOT   actor $PLAYER_ACTOR stopped_near_point_in_car  2146.5  2753.4  11.0 radius  5.5  3.5  2.0 sphere  0 

8103:   NOT   actor $PLAYER_ACTOR stopped_near_point_in_car -1328.1  2677.3  50.0 radius  2.0  10.0  2.0 sphere  0 

8103:   NOT   actor $PLAYER_ACTOR stopped_near_point_in_car -1471.0  1864.5  32.0 radius  8.0  8.0  2.0 sphere  0 

004D: jump_if_false ££MAPINIT_586

00D6: if  6

8103:   NOT   actor $PLAYER_ACTOR stopped_near_point_in_car -1465.0  1870.5  32.0 radius  3.0  3.0  2.0 sphere  0 

8103:   NOT   actor $PLAYER_ACTOR stopped_near_point_in_car -2410.5  975.5  45.5 radius  7.5  4.0  2.0 sphere  0 

8103:   NOT   actor $PLAYER_ACTOR stopped_near_point_in_car -1677.7  415.0  7.3 radius  15.5  15.5  2.0 sphere  0 

8103:   NOT   actor $PLAYER_ACTOR stopped_near_point_in_car -2247.2 -2560.5  32.0 radius  3.5  3.5  2.0 sphere  0 

8103:   NOT   actor $PLAYER_ACTOR stopped_near_point_in_car -2242.5 -2563.1  32.0 radius  3.5  3.5  2.0 sphere  0 

8103:   NOT   actor $PLAYER_ACTOR stopped_near_point_in_car  1382.5  460.0  20.3 radius  4.0  7.0  2.0 sphere  0 

8103:   NOT   actor $PLAYER_ACTOR stopped_near_point_in_car  655.6 -565.0  16.3 radius  4.0  8.0  2.0 sphere  0 

004D: jump_if_false ££MAPINIT_586

00D6: if  1

8103:   NOT   actor $PLAYER_ACTOR stopped_near_point_in_car  1942.4 -1773.0  13.3 radius  4.0  9.0  2.0 sphere  0 

8103:   NOT   actor $PLAYER_ACTOR stopped_near_point_in_car -1605.4 -2714.0  48.3 radius  10.0  13.0  2.0 sphere  0 

004D: jump_if_false ££MAPINIT_586

00D6: if  2

00DF:   actor $PLAYER_ACTOR driving

02A0:   actor $PLAYER_ACTOR stopped 

00A4:   actor $PLAYER_ACTOR  0 ()in_cube  598.0  1708.7  6.5  629.3  1675.8  9.0

004D: jump_if_false ££MAPINIT_571

0002: jump ££MAPINIT_586

 

:MAPINIT_571

00D6: if  2

00DF:   actor $PLAYER_ACTOR driving

02A0:   actor $PLAYER_ACTOR stopped 

00A4:   actor $PLAYER_ACTOR  0 ()in_cube -87.6 -1179.1  2.0 -95.0 -1159.5  5.0

004D: jump_if_false ££MAPINIT_577

0002: jump ££MAPINIT_586

 

:MAPINIT_577

00D6: if  22

0103:   actor $PLAYER_ACTOR stopped_near_point_in_car -1289.4 -11.0  14.3 radius  15.0  15.0  3.0 sphere  0 

0103:   actor $PLAYER_ACTOR stopped_near_point_in_car  1445.4 -2436.2  13.5 radius  15.0  15.0  3.0 sphere  0 

0103:   actor $PLAYER_ACTOR stopped_near_point_in_car  1580.5  1451.4  11.0 radius  20.0  15.0  3.0 sphere  0 

004D: jump_if_false ££MAPINIT_536

00D6: if  0

04C8: $PLAYER_ACTOR

004D: jump_if_false ££MAPINIT_536

0002: jump ££MAPINIT_586

 

:MAPINIT_586

0001: wait  100 ms

00D6: if  6

8137:   NOT   car $11008.75 id == #BMX

8137:   NOT   car $11008.75 id == #BIKE

8137:   NOT   car $11008.75 id == #MTBIKE

8137:   NOT   car $11008.75 id == #FREIGHT

8137:   NOT   car $11008.75 id == #BAGGAGE

8137:   NOT   car $11008.75 id == #CADDY

8137:   NOT   car $11008.75 id == #SWEEPER

004D: jump_if_false ££MAPINIT_536

00D6: if  4

8137:   NOT   car $11008.75 id == #STREAKC

8137:   NOT   car $11008.75 id == #STREAK

8137:   NOT   car $11008.75 id == #TRAM

8137:   NOT   car $11008.75 id == #FREIFLAT

8137:   NOT   car $11008.75 id == #FREIBOX

004D: jump_if_false ££MAPINIT_536

00D6: if  0

8018:   NOT   $11009.75 >  99 ;; integer values

004D: jump_if_false ££MAPINIT_612

00D6: if  0

010A:   player $PLAYER_CHAR money >  15

004D: jump_if_false ££MAPINIT_615

0008: $11009.75 +=  1 ;; integer values

0109: player $PLAYER_CHAR money += -15   ;; here you can change the price of the petrol, USE ONLY INTEGERS 

0002: jump ££MAPINIT_536

 

:MAPINIT_612

0001: wait  0 ms

00BC: text_highpriority 'TANKFU'  1000 ms  1

0002: jump ££MAPINIT_536

 

:MAPINIT_615

0001: wait  0 ms

00BC: text_highpriority 'PETMON'  1000 ms  1

0002: jump ££MAPINIT_536

 

 

 

How to install :

 

It's not like 3 clics operation but shouldn't take more than five minutes.

But please READ CAREFULLY it will help you a lot.

 

You need to add this to you scm file using your favorite scm editor for that prupose.

All this goes to the main part (just the line before ;----------Mission 0----------- and after ;-------------MAIN--------------- )

you must create the threads they must be before the petrol mod's code

 

CODE 

004F: create_thread ££MAPINIT_348

004F: create_thread ££MAPINIT_515

 

Edited by psy145
user posted image
Link to comment
Share on other sites

 

sanny builder

ok its be the scripts of petrol mod who i compile to sanny builder compatible and i use in the cleo library custom scripts(.cs files)

 

 

:PETROLthread "PETROL" 0209: &44039 = random_int_in_ranges 10 100 &44035 = -1 &44031 = 0 &44027 = 0 0084: &44027 = &44039 // (int) &44027 *= 10 &44027 -= 10 &44023 = 0 0084: &44031 = &44039 // (int) &44031 *= 10 03BC: &44019 = create_sphere_at 41.797 -1055.334 9.368 radius 2.0 03BC: &44019 = create_sphere_at -868.786 -111.724 9.902 radius 2.0 :PETROL_134wait 0 if  $ONMISSION == 0 jf @PETROL_134 if   Actor.Driving($PLAYER_ACTOR)jf @PETROL_134 03C0: &44035 = actor $PLAYER_ACTOR car :PETROL_180wait 0 if and  not Car.Model(&44035) == #BMX  not Car.Model(&44035) == #BIKE  not Car.Model(&44035) == #MTBIKE  not Car.Model(&44035) == #FREIGHT  not Car.Model(&44035) == #BAGGAGE  not Car.Model(&44035) == #SWEEPERjf @PETROL_134 if and  not Car.Model(&44035) == #STREAKC  not Car.Model(&44035) == #STREAK  not Car.Model(&44035) == #TRAM  not Car.Model(&44035) == #CADDY  not Car.Model(&44035) == #FREIFLAT  not Car.Model(&44035) == #FREIBOXjf @PETROL_134 wait 0 04F7: status_text &44039 type 1 line 1 GXT 'PETRST' // global_variable if   Actor.Driving($PLAYER_ACTOR)jf @PETROL_1004 :PETROL_340wait 0 0652: &44015 = integer_stat 160 if   Actor.Driving($PLAYER_ACTOR)jf @PETROL_1004 if  &44039 > 0 jf @PETROL_1089 02E3: &44023 = car &44035 speed &44023 *= 4.0 008C: &44023 = float &44023 to_integer if  &44023 > 1 jf @PETROL_530 if  &44023 > 15 jf @PETROL_549 if  &44023 > 90 jf @PETROL_568 if  &44023 > 150 jf @PETROL_587 if  &44023 > 200 jf @PETROL_606 if  &44023 > 250 jf @PETROL_625 jump @PETROL_644 :PETROL_530wait 0 &44011 = 7000 jump @PETROL_663 :PETROL_549wait 0 &44011 = 6000 jump @PETROL_663 :PETROL_568wait 0 &44011 = 5000 jump @PETROL_663 :PETROL_587wait 0 &44011 = 4000 jump @PETROL_663 :PETROL_606wait 0 &44011 = 3000 jump @PETROL_663 :PETROL_625wait 0 &44011 = 2000 jump @PETROL_663 :PETROL_644wait 0 &44011 = 1000 jump @PETROL_663 :PETROL_663wait 0 0652: &44007 = integer_stat 223 if 04C8:   actor $PLAYER_ACTOR driving_flying_vehicle jf @PETROL_715 &44003 = 2.5 gosub @PETROL_893 jump @PETROL_838 :PETROL_715wait 0 0652: &44007 = integer_stat 160 if   Actor.DrivingPlane($PLAYER_ACTOR)jf @PETROL_767 &44003 = 1.5 gosub @PETROL_893 jump @PETROL_838 :PETROL_767wait 0 0652: &44007 = integer_stat 229 if 047A:   actor $PLAYER_ACTOR driving_bike jf @PETROL_819 &44003 = 0.85 gosub @PETROL_893 jump @PETROL_838 :PETROL_819wait 0 0652: &44007 = integer_stat 160 jump @PETROL_838 :PETROL_838wait 0 if  &44007 > 500 jf @PETROL_919 0093: &44003 = integer &44007 to_float &44003 /= 500.0 gosub @PETROL_893 jump @PETROL_919 :PETROL_8930093: &43999 = integer &44011 to_float 0069: &43999 *= &44003 // (float) 0092: &44011 = float &43999 to_integer return :PETROL_919wait 200 wait &44011 &44031 -= 10 if 001C:   &44027 > &44031 // (int) jf @PETROL_340 &44027 -= 10 &44039 -= 1 jump @PETROL_340 :PETROL_976wait 0 0209: &44039 = random_int_in_ranges 35 100 03C0: &44035 = actor $PLAYER_ACTOR car jump @PETROL_180 :PETROL_1004wait 0 0151: remove_status_text &44039 jump @PETROL_1020 :PETROL_1020wait 0 if  $ONMISSION == 0 jf @PETROL_1020 if   Actor.Driving($PLAYER_ACTOR)jf @PETROL_1020 if and0448:   actor $PLAYER_ACTOR in_car &44035   Actor.Driving($PLAYER_ACTOR)jf @PETROL_976 jump @PETROL_180 :PETROL_1089wait 0 Player.CanMove($PLAYER_CHAR) = False02D4: car &44035 turn_off_engine Player.CanMove($PLAYER_CHAR) = Truewait 1000 jump @PETROL_340 

 

 

second thread:

 

:PETROLSTwait 0 thread "PETROLST" &43995 = Marker.CreateIconWithoutSphere(55, -90.0, -1168.5, 45.0)&43991 = Marker.CreateIconWithoutSphere(55, 2640.0, 1107.0, 45.0)&43987 = Marker.CreateIconWithoutSphere(55, 2114.0, 920.5, 45.0)&43983 = Marker.CreateIconWithoutSphere(55, 1596.0, 2199.0, 45.0)&43979 = Marker.CreateIconWithoutSphere(55, 2202.0, 2474.5, 45.0)&43975 = Marker.CreateIconWithoutSphere(55, 2148.0, 2748.5, 45.0)&43971 = Marker.CreateIconWithoutSphere(55, -1328.5, 1863.0, 45.0)&43967 = Marker.CreateIconWithoutSphere(55, -1471.0, -1168.5, 45.0)&43963 = Marker.CreateIconWithoutSphere(55, -2410.0, 975.0, 45.0)&43959 = Marker.CreateIconWithoutSphere(55, -2243.5, -2561.0, 45.0)&43955 = Marker.CreateIconWithoutSphere(55, -1606.0, -2714.5, 45.0)&43951 = Marker.CreateIconWithoutSphere(55, 1382.5, 460.5, 45.0)&43947 = Marker.CreateIconWithoutSphere(55, 655.0, -564.5, 45.0)&43943 = Marker.CreateIconWithoutSphere(55, -1676.0, 413.0, 45.0)&43939 = Marker.CreateIconWithoutSphere(55, 615.0, 1693.0, 45.0)&43935 = Marker.CreateIconWithoutSphere(55, 1943.0, -1773.5, 45.0)&43931 = Marker.CreateIconWithoutSphere(5, -1289.4, -11.0, 14.3)&43927 = Marker.CreateIconWithoutSphere(5, 1445.4, -2436.2, 13.5)&43923 = Marker.CreateIconWithoutSphere(5, 1580.5, 1451.4, 11.0):PETROLST_434wait 0 if  $ONMISSION == 0 jf @PETROLST_434 if   Actor.Driving($PLAYER_ACTOR)jf @PETROLST_434 if and8103:   not actor $PLAYER_ACTOR in_sphere 2640.0 1107.0 10.0 radius 5.5 8.7 2.0 sphere 0 stopped_in_car 8103:   not actor $PLAYER_ACTOR in_sphere 2114.0 919.0 11.0 radius 5.5 8.7 2.0 sphere 0 stopped_in_car 8103:   not actor $PLAYER_ACTOR in_sphere 1597.0 2199.0 11.5 radius 5.5 8.7 2.0 sphere 0 stopped_in_car 8103:   not actor $PLAYER_ACTOR in_sphere 2202.0 2473.0 11.0 radius 8.7 5.5 2.0 sphere 0 stopped_in_car 8103:   not actor $PLAYER_ACTOR in_sphere 2146.5 2753.4 11.0 radius 5.5 3.5 2.0 sphere 0 stopped_in_car 8103:   not actor $PLAYER_ACTOR in_sphere -1328.1 2677.3 50.0 radius 2.0 10.0 2.0 sphere 0 stopped_in_car 8103:   not actor $PLAYER_ACTOR in_sphere -1471.0 1864.5 32.0 radius 8.0 8.0 2.0 sphere 0 stopped_in_car jf @PETROLST_1372 if and8103:   not actor $PLAYER_ACTOR in_sphere -1465.0 1870.5 32.0 radius 3.0 3.0 2.0 sphere 0 stopped_in_car 8103:   not actor $PLAYER_ACTOR in_sphere -2410.5 975.5 45.5 radius 7.5 4.0 2.0 sphere 0 stopped_in_car 8103:   not actor $PLAYER_ACTOR in_sphere -1677.7 415.0 7.3 radius 15.5 15.5 2.0 sphere 0 stopped_in_car 8103:   not actor $PLAYER_ACTOR in_sphere -2247.2 -2560.5 32.0 radius 3.5 3.5 2.0 sphere 0 stopped_in_car 8103:   not actor $PLAYER_ACTOR in_sphere -2242.5 -2563.1 32.0 radius 3.5 3.5 2.0 sphere 0 stopped_in_car 8103:   not actor $PLAYER_ACTOR in_sphere 1382.5 460.0 20.3 radius 4.0 7.0 2.0 sphere 0 stopped_in_car 8103:   not actor $PLAYER_ACTOR in_sphere 655.6 -565.0 16.3 radius 4.0 8.0 2.0 sphere 0 stopped_in_car jf @PETROLST_1372 if and8103:   not actor $PLAYER_ACTOR in_sphere 1942.4 -1773.0 13.3 radius 4.0 9.0 2.0 sphere 0 stopped_in_car 8103:   not actor $PLAYER_ACTOR in_sphere -1605.4 -2714.0 48.3 radius 10.0 13.0 2.0 sphere 0 stopped_in_car jf @PETROLST_1372 if and  Actor.Driving($PLAYER_ACTOR)  Actor.Stopped($PLAYER_ACTOR)00A4:   actor $PLAYER_ACTOR sphere 0 in_cube_cornerA 598.0 1708.7 6.5 cornerB 629.3 1675.8 9.0 jf @PETROLST_1162 jump @PETROLST_1372 :PETROLST_1162if and  Actor.Driving($PLAYER_ACTOR)  Actor.Stopped($PLAYER_ACTOR)00A4:   actor $PLAYER_ACTOR sphere 0 in_cube_cornerA -87.6 -1179.1 2.0 cornerB -95.0 -1159.5 5.0 jf @PETROLST_1227 jump @PETROLST_1372 :PETROLST_1227if or0103:   actor $PLAYER_ACTOR in_sphere -1289.4 -11.0 14.3 radius 15.0 15.0 3.0 sphere 0 stopped_in_car 0103:   actor $PLAYER_ACTOR in_sphere 1445.4 -2436.2 13.5 radius 15.0 15.0 3.0 sphere 0 stopped_in_car 0103:   actor $PLAYER_ACTOR in_sphere 1580.5 1451.4 11.0 radius 20.0 15.0 3.0 sphere 0 stopped_in_car jf @PETROLST_434 if 04C8:   actor $PLAYER_ACTOR driving_flying_vehicle jf @PETROLST_434 jump @PETROLST_1372 :PETROLST_1372wait 100 if and  not Car.Model(&44035) == #BMX  not Car.Model(&44035) == #BIKE  not Car.Model(&44035) == #MTBIKE  not Car.Model(&44035) == #FREIGHT  not Car.Model(&44035) == #BAGGAGE  not Car.Model(&44035) == #CADDY  not Car.Model(&44035) == #SWEEPERjf @PETROLST_434 if and  not Car.Model(&44035) == #STREAKC  not Car.Model(&44035) == #STREAK  not Car.Model(&44035) == #TRAM  not Car.Model(&44035) == #FREIFLAT  not Car.Model(&44035) == #FREIBOXjf @PETROLST_434 if   not &44039 > 99 jf @PETROLST_1551 if   Player.Money($PLAYER_CHAR) > 15jf @PETROLST_1578 &44039 += 1 Player.Money($PLAYER_CHAR) += -15jump @PETROLST_434 :PETROLST_1551wait 0 00BC: show_text_highpriority GXT 'TANKFU' time 1000 flag 1 jump @PETROLST_434 :PETROLST_1578wait 0 00BC: show_text_highpriority GXT 'PETMON' time 1000 flag 1 jump @PETROLST_434 

 

 

create thread lines:

 

 

create_thread @PETROLcreate_thread @PETROLST

 

 

when you using the main.scm in gtaforums be some tutorials how to put threads into main.scm

 

Bye.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.