PDA

View Full Version : GTA: Sa Petrol Stations Mod


Gangsta$$Nerd
05-19-2007, 03:16 AM
This is my friend's mod i have in no way contributed to this mod, do not associate me with this mod/ scripts

remember always back up before editing Gta Files, if this stuffs up your game don't blame me


TGH's Pumping Gas Mod v1.0

First off have I have to give some credit to CNS for letting me copy and paste his cords for the gas stations - it was getting really annoying making up cords for all the pumps!

Now below is version 1.0 it may or may not be the final but it is no longer at WIP status!

BTW: when using ANY mission mod you MUST start a NEW game, old save games will not work at all


place these somewhere like the MAIN_1 thread:

CODE
004F: create_thread ££TGHGAS_1
004F: create_thread ££TGHGASB_1
004F: create_thread ££TGHGASC_1
004F: create_thread ££TGHSTATION_1


next here is the ENTIRE sorce code which you should place anywhere before the code for MISSION 0:

CODE
:TGHGAS_1
0001: wait 0 ms
00d6: if 0
00DF: actor $PLAYER_ACTOR driving
004D: jump_if_false ££TGHGAS_1
00d6: if 3
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 481
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 509
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 510
80DB: NOT actor $PLAYER_ACTOR in_car $TGHTOWTRUCK
004D: jump_if_false ££TGHGAS_1
00d6: if 0
80DB: NOT actor $PLAYER_ACTOR in_car $TGHCAR
004D: jump_if_false ££TGHGAS_3
0002: jump ££TGHGAS_2

:TGHGAS_2
0001: wait 0 ms
03C0: $TGHCAR = actor $PLAYER_ACTOR car
0209: $TGHTANK = random_int 50 1000

:TGHGAS_3
0001: wait 1500 ms
00d6: if 0
00DF: actor $PLAYER_ACTOR driving
004D: jump_if_false ££TGHGAS_4
000C: $TGHTANK -= 1;; integer values
00d6: if 0
0038: $TGHTANK == 0;; integer values
004D: jump_if_false ££TGHGAS_3
0002: jump ££TGHGAS_5

:TGHGAS_4
0001: wait 0 ms
0002: jump ££TGHGAS_1

:TGHGAS_5
0001: wait 0 ms
00d6: if 5
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 448
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 461
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 462
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 463
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 468
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 471
004D: jump_if_false ££TGHGAS_7
00d6: if 4
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 521
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 522
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 523
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 581
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 586
004D: jump_if_false ££TGHGAS_7
00d6: if 5
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 449
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 537
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 538
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 569
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 570
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 590
004D: jump_if_false ££TGHGAS_7
00d6: if 5
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 460
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 476
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 511
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 512
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 513
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 519
004D: jump_if_false ££TGHGAS_8
00d6: if 4
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 520
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 553
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 577
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 592
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 593
004D: jump_if_false ££TGHGAS_8
00d6: if 4
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 417
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 425
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 447
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 469
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 487
004D: jump_if_false ££TGHGAS_11
00d6: if 3
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 488
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 497
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 548
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 563
004D: jump_if_false ££TGHGAS_11
00d6: if 6
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 403
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 406
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 407
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 408
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 409
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 413
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 414
004D: jump_if_false ££TGHGAS_9
00d6: if 6

Gangsta$$Nerd
05-19-2007, 03:17 AM
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 416
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 427
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 428
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 431
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 432
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 433
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 437
004D: jump_if_false ££TGHGAS_9
00d6: if 6
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 443
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 444
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 455
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 456
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 486
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 498
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 499
004D: jump_if_false ££TGHGAS_9
00d6: if 6
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 508
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 524
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 525
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 532
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 544
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 556
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 557
004D: jump_if_false ££TGHGAS_9
00d6: if 6
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 573
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 578
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 601
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 515
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 514
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 483
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 584
004D: jump_if_false ££TGHGAS_9
00d6: if 5
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 430
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 446
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 452
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 453
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 454
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 472
004D: jump_if_false ££TGHGAS_10
00d6: if 4
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 473
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 484
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 493
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 595
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 539
004D: jump_if_false ££TGHGAS_10
0002: jump ££TGHGAS_6


:TGHGAS_6;; CARS
0001: wait 0 ms
020A: set_car $TGHCAR door_status_to 4
0003: shake_camera 50
0001: wait 200 ms
0003: shake_camera 50
0001: wait 200 ms
0003: shake_camera 50
0001: wait 200 ms
0003: shake_camera 50
0001: wait 200 ms
0003: shake_camera 50
02D4: unknown_turn_off_car $TGHCAR engine
0001: wait 3000 ms
016A: fade 0 () 750 ms
0001: wait 1000 ms
0247: request_model 578
00D6: if 0
0248: model 578 available
004D: jump_if_false ££TGHGAS_6
0407: create_coordinate $TGHEMPTY_X $TGHEMPTY_Y $TGHEMPTY_Z from_car $TGHCAR offset 0.0 -2.0 3.5
0407: create_coordinate $TGHTOW_X $TGHTOW_Y $TGHTOW_Z from_car $TGHCAR offset 0.0 0.0 0.0
0407: create_coordinate $TGHPLR_X $TGHPLR_Y $TGHPLR_Z from_car $TGHCAR offset 6.0 0.0 2.0
0174: $TGHCAR_Z = car $TGHCAR z_angle
00AB: put_car $TGHCAR at $TGHEMPTY_X $TGHEMPTY_Y $TGHEMPTY_Z
00A5: $TGHTOWTRUCK = create_car 578 at $TGHTOW_X $TGHTOW_Y $TGHTOW_Z
0175: set_car $TGHTOWTRUCK z_angle_to $TGHCAR_Z
07AB: car $TGHTOWTRUCK attached_to_car $TGHCAR
0362: remove_actor $PLAYER_ACTOR from_car_and_place_at $TGHPLR_X $TGHPLR_Y $TGHPLR_Z
0001: wait 750 ms
016A: fade 1 (back) 750 ms
0002: jump ££TGHGAS_1

:TGHGAS_7;; BIKES
0001: wait 0 ms
0003: shake_camera 50
0001: wait 200 ms
0003: shake_camera 50
0001: wait 200 ms
0003: shake_camera 50
0001: wait 200 ms
0003: shake_camera 50
0001: wait 200 ms
0003: shake_camera 50
02D4: unknown_turn_off_car $TGHCAR engine
0001: wait 8000 ms
020B: explode_car $TGHCAR
0002: jump ££TGHGAS_1

:TGHGAS_8;; PLANES
0001: wait 0 ms
0003: shake_camera 65
0001: wait 200 ms
0003: shake_camera 65
0001: wait 200 ms
0003: shake_camera 65
0001: wait 200 ms
0003: shake_camera 75
0001: wait 200 ms
0003: shake_camera 75
0001: wait 200 ms
0003: shake_camera 75
0001: wait 200 ms
0003: shake_camera 95
0001: wait 200 ms
0003: shake_camera 95
02D4: unknown_turn_off_car $TGHCAR engine
0002: jump ££TGHGAS_1

:TGHGAS_9;; BIG
0001: wait 0 ms
020A: set_car $TGHCAR door_status_to 4
0003: shake_camera 50
0001: wait 200 ms
0003: shake_camera 50
0001: wait 200 ms
0003: shake_camera 50
0001: wait 200 ms
0003: shake_camera 50
0001: wait 200 ms
0003: shake_camera 50
02D4: unknown_turn_off_car $TGHCAR engine
0001: wait 3000 ms
016A: fade 0 () 750 ms
0001: wait 1000 ms
0247: request_model 525
00D6: if 0
0248: model 525 available
004D: jump_if_false ££TGHGAS_9
0407: create_coordinate $TGHEMPTY_X $TGHEMPTY_Y $TGHEMPTY_Z from_car $TGHCAR offset 0.0 10.0 2.0
0407: create_coordinate $TGHPLR_X $TGHPLR_Y $TGHPLR_Z from_car $TGHCAR offset 6.0 0.0 2.0
0174: $TGHCAR_Z = car $TGHCAR z_angle
00A5: $TGHTOWTRUCK = create_car 525 at $TGHEMPTY_X $TGHEMPTY_Y $TGHEMPTY_Z
0175: set_car $TGHTOWTRUCK z_angle_to $TGHCAR_Z
0362: remove_actor $PLAYER_ACTOR from_car_and_place_at $TGHPLR_X $TGHPLR_Y $TGHPLR_Z
0001: wait 750 ms
016A: fade 1 (back) 750 ms
0002: jump ££TGHGAS_1

:TGHGAS_10;; BOAT
0001: wait 0 ms
0003: shake_camera 50
0001: wait 200 ms
0003: shake_camera 50
0001: wait 200 ms
0003: shake_camera 50
0001: wait 200 ms
0003: shake_camera 50
0001: wait 200 ms
0003: shake_camera 50
0001: wait 200 ms
0003: shake_camera 50
02D4: unknown_turn_off_car $TGHCAR engine
020A: set_car $TGHCAR door_status_to 4
0001: wait 4000 ms
016A: fade 0 () 750 ms
0001: wait 1000 ms
0407: create_coordinate $TGHPLR_X $TGHPLR_Y $TGHPLR_Z from_car $TGHCAR offset 6.0 0.0 2.0
0362: remove_actor $PLAYER_ACTOR from_car_and_place_at $TGHPLR_X $TGHPLR_Y $TGHPLR_Z
0001: wait 750 ms
016A: fade 1 (back) 750 ms
0001: wait 1250 ms
020B: explode_car $TGHCAR
0002: jump ££TGHGAS_1

:TGHGAS_11;; HELI
0001: wait 0 ms
0003: shake_camera 65
0001: wait 200 ms
0003: shake_camera 65
0001: wait 200 ms
0003: shake_camera 65
0001: wait 200 ms
0003: shake_camera 75
0001: wait 200 ms
0003: shake_camera 75
0001: wait 200 ms
0003: shake_camera 75
0001: wait 200 ms
0003: shake_camera 95
0001: wait 200 ms
0003: shake_camera 95
02D4: unknown_turn_off_car $TGHCAR engine
0001: wait 3000 ms
020B: explode_car $TGHCAR
0002: jump ££TGHGAS_1


:TGHGASB_1
0001: wait 0 ms
00d6: if 0
00DF: actor $PLAYER_ACTOR driving
004D: jump_if_false ££TGHGASB_1
00d6: if 3
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 481
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 509
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 510
80DB: NOT actor $PLAYER_ACTOR in_car $TGHTOWTRUCK
004D: jump_if_false ££TGHGASB_1
0002: jump ££TGHGASB_2

:TGHGASB_2
0001: wait 0 ms
00d6: if 0
00DF: actor $PLAYER_ACTOR driving
004D: jump_if_false ££TGHGASB_1
045A: 25.0 100.0 "NUMBER" $TGHTANK
0002: jump ££TGHGASB_2


:TGHGASC_1
0001: wait 0 ms
00d6: if 0
00DF: actor $PLAYER_ACTOR driving
004D: jump_if_false ££TGHGASC_1
00d6: if 3
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 481
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 509
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 510
80DB: NOT actor $PLAYER_ACTOR in_car $TGHTOWTRUCK
004D: jump_if_false ££TGHGASC_1
0002: jump ££TGHGASC_2

:TGHGASC_2
00d6: if 0
0028: $TGHTANK >= 350;; integer values
004D: jump_if_false ££TGHGASC_3
00d6: if 0
00DF: actor $PLAYER_ACTOR driving
004D: jump_if_false ££TGHGASC_1
0340: set_text_draw_color 0 255 0 255
0002: jump ££TGHGASC_1

Gangsta$$Nerd
05-19-2007, 03:18 AM
:TGHGASC_3
00d6: if 0
0028: $TGHTANK >= 100;; integer values
004D: jump_if_false ££TGHGASC_4
00d6: if 0
00DF: actor $PLAYER_ACTOR driving
004D: jump_if_false ££TGHGASC_1
0340: set_text_draw_color 255 255 0 255
0002: jump ££TGHGASC_1

:TGHGASC_4
00d6: if 0
0028: $TGHTANK >= 1;; integer values
004D: jump_if_false ££TGHGASC_5
00d6: if 0
00DF: actor $PLAYER_ACTOR driving
004D: jump_if_false ££TGHGASC_1
0340: set_text_draw_color 255 0 0 255
0002: jump ££TGHGASC_1

:TGHGASC_5
00d6: if 0
0028: $TGHTANK >= -500;; integer values
004D: jump_if_false ££TGHGASC_2
00d6: if 0
00DF: actor $PLAYER_ACTOR driving
004D: jump_if_false ££TGHGASC_1
0340: set_text_draw_color 0 0 0 255
0002: jump ££TGHGASC_1


:TGHSTATION_1
02A7: $TGHSTATION_SP01AP = create_icon_marker_and_sphere 5 at 402.0 2504.0 16.4
02A7: $TGHSTATION_SP02AP = create_icon_marker_and_sphere 5 at -1157.0 -207.0 13.7
02A7: $TGHSTATION_SP03AP = create_icon_marker_and_sphere 5 at 1569.0 1305.0 10.8
02A7: $TGHSTATION_SP04AP = create_icon_marker_and_sphere 5 at 1939.0 -2376.0 13.5
04CE: $TGHSTATION_ST01 = create_icon_marker_without_sphere 55 at 2640.0 1107.0 10.0
04CE: $TGHSTATION_ST02 = create_icon_marker_without_sphere 55 at 2114.0 919.0 11.0
04CE: $TGHSTATION_ST03 = create_icon_marker_without_sphere 55 at 1597.0 2199.0 15.0
04CE: $TGHSTATION_ST04 = create_icon_marker_without_sphere 55 at 2202.0 2473.0 11.0
04CE: $TGHSTATION_ST05 = create_icon_marker_without_sphere 55 at 2146.5 2753.0 11.0
04CE: $TGHSTATION_ST06 = create_icon_marker_without_sphere 55 at -1328.0 2677.0 50.0
04CE: $TGHSTATION_ST07 = create_icon_marker_without_sphere 55 at -1471.0 1864.0 32.0
04CE: $TGHSTATION_ST08 = create_icon_marker_without_sphere 55 at -1465.0 1870.0 32.0
04CE: $TGHSTATION_ST09 = create_icon_marker_without_sphere 55 at -2410.0 975.0 46.0
04CE: $TGHSTATION_ST10 = create_icon_marker_without_sphere 55 at -1677.0 415.0 7.0
04CE: $TGHSTATION_ST11 = create_icon_marker_without_sphere 55 at -2247.0 -2560.0 32.0
04CE: $TGHSTATION_ST12 = create_icon_marker_without_sphere 55 at -2242.0 -2563.0 32.0
04CE: $TGHSTATION_ST13 = create_icon_marker_without_sphere 55 at 1382.0 460.0 20.0
04CE: $TGHSTATION_ST14 = create_icon_marker_without_sphere 55 at 655.0 -565.0 16.0
04CE: $TGHSTATION_ST15 = create_icon_marker_without_sphere 55 at 1942.0 -1773.0 13.0
04CE: $TGHSTATION_ST16 = create_icon_marker_without_sphere 55 at -1605.0 -2714.0 48.0
02A7: $TGHSTATION_SP01BT = create_icon_marker_and_sphere 9 at -1479.0 1046.0 -5.0
02A7: $TGHSTATION_SP02BT = create_icon_marker_and_sphere 9 at 2595.0 -2309.0 -5.0
02A7: $TGHSTATION_SP03BT = create_icon_marker_and_sphere 9 at 2323.0 532.0 -5.0
02A7: $TGHSTATION_SP04BT = create_icon_marker_and_sphere 9 at -929.0 2682.0 40.0
02A7: $TGHSTATION_SP05BT = create_icon_marker_and_sphere 9 at -2234.0 2422.0 -5.0
02A7: $TGHSTATION_SP06BT = create_icon_marker_and_sphere 9 at -2398.0 2314.0 -5.0
0002: jump ££TGHSTATION_2

:TGHSTATION_2
0001: wait 0 ms
00D6: if 0
00DF: actor $PLAYER_ACTOR driving
004D: jump_if_false ££TGHSTATION_2
00D6: if 3
8103: NOT actor $PLAYER_ACTOR stopped_near_point_in_car 402.0 2504.0 16.4 radius 12.0 12.0 12.0 sphere 0
8103: NOT actor $PLAYER_ACTOR stopped_near_point_in_car -1157.0 -207.0 13.7 radius 12.0 12.0 12.0 sphere 0
8103: NOT actor $PLAYER_ACTOR stopped_near_point_in_car 1569.0 1305.0 10.8 radius 12.0 12.0 12.0 sphere 0
8103: NOT actor $PLAYER_ACTOR stopped_near_point_in_car 1939.0 -2376.0 13.5 radius 12.0 12.0 12.0 sphere 0
004D: jump_if_false ££TGHSTATION_3
00D6: if 5
8103: NOT actor $PLAYER_ACTOR stopped_near_point_in_car -1479.0 1046.0 -5.0 radius 12.0 12.0 12.0 sphere 0
8103: NOT actor $PLAYER_ACTOR stopped_near_point_in_car 2595.0 -2309.0 -5.0 radius 12.0 12.0 12.0 sphere 0
8103: NOT actor $PLAYER_ACTOR stopped_near_point_in_car 2323.0 532.0 -5.0 radius 12.0 12.0 12.0 sphere 0
8103: NOT actor $PLAYER_ACTOR stopped_near_point_in_car -929.0 2682.0 40.0 radius 12.0 12.0 12.0 sphere 0
8103: NOT actor $PLAYER_ACTOR stopped_near_point_in_car -2234.0 2422.0 -5.0 radius 12.0 12.0 12.0 sphere 0
8103: NOT actor $PLAYER_ACTOR stopped_near_point_in_car -2398.0 2314.0 -5.0 radius 12.0 12.0 12.0 sphere 0
004D: jump_if_false ££TGHSTATION_3
00D6: if 6
8103: NOT actor $PLAYER_ACTOR stopped_near_point_in_car 2640.0 1107.0 10.0 radius 6.0 9.0 2.0 sphere 0
8103: NOT actor $PLAYER_ACTOR stopped_near_point_in_car 2114.0 919.0 11.0 radius 6.0 9.0 2.0 sphere 0
8103: NOT actor $PLAYER_ACTOR stopped_near_point_in_car 1597.0 2199.0 15.0 radius 6.0 9.0 2.0 sphere 0
8103: NOT actor $PLAYER_ACTOR stopped_near_point_in_car 2202.0 2473.0 11.0 radius 9.0 6.0 2.0 sphere 0
8103: NOT actor $PLAYER_ACTOR stopped_near_point_in_car 2146.5 2753.0 11.0 radius 6.0 4.0 2.0 sphere 0
8103: NOT actor $PLAYER_ACTOR stopped_near_point_in_car -1328.0 2677.0 50.0 radius 2.0 10.0 2.0 sphere 0
8103: NOT actor $PLAYER_ACTOR stopped_near_point_in_car -1471.0 1864.0 32.0 radius 8.0 8.0 2.0 sphere 0
004D: jump_if_false ££TGHSTATION_3
00D6: if 6
8103: NOT actor $PLAYER_ACTOR stopped_near_point_in_car -1465.0 1870.0 32.0 radius 3.0 3.0 2.0 sphere 0
8103: NOT actor $PLAYER_ACTOR stopped_near_point_in_car -2410.0 975.0 46.0 radius 8.0 4.0 2.0 sphere 0
8103: NOT actor $PLAYER_ACTOR stopped_near_point_in_car -1677.0 415.0 7.0 radius 16.0 16.0 2.0 sphere 0
8103: NOT actor $PLAYER_ACTOR stopped_near_point_in_car -2247.0 -2560.0 32.0 radius 4.0 4.0 2.0 sphere 0
8103: NOT actor $PLAYER_ACTOR stopped_near_point_in_car -2242.0 -2563.0 32.0 radius 4.0 4.0 2.0 sphere 0
8103: NOT actor $PLAYER_ACTOR stopped_near_point_in_car 1382.0 460.0 20.0 radius 4.0 7.0 2.0 sphere 0
8103: NOT actor $PLAYER_ACTOR stopped_near_point_in_car 655.0 -565.0 16.0 radius 4.0 8.0 2.0 sphere 0
004D: jump_if_false ££TGHSTATION_3
00D6: if 1
8103: NOT actor $PLAYER_ACTOR stopped_near_point_in_car 1942.0 -1773.0 13.0 radius 4.0 9.0 2.0 sphere 0
8103: NOT actor $PLAYER_ACTOR stopped_near_point_in_car -1605.0 -2714.0 48.0 radius 10.0 13.0 2.0 sphere 0
004D: jump_if_false ££TGHSTATION_3
0002: jump ££TGHSTATION_2
:TGHSTATION_3
0001: wait 0 ms
00D6: if 2
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 481
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 509
80DD: NOT actor $PLAYER_ACTOR driving_vehicle_type 510
004D: jump_if_false ££TGHSTATION_2
00D6: if 0
80DB: NOT actor $PLAYER_ACTOR in_car $TGHTOWTRUCK
004D: jump_if_false ££TGHSTATION_5
00D6: if 0
0028: $TGHTANK >= 1500;; integer values
004D: jump_if_false ££TGHSTATION_4
0002: jump ££TGHSTATION_2

:TGHSTATION_4
0001: wait 50 ms
0008: $TGHTANK += 15;; integer values
0109: player $PLAYER_CHAR money += -1
0002: jump ££TGHSTATION_2

:TGHSTATION_5
0001: wait 0 ms
02D4: unknown_turn_off_car $TGHTOWTRUCK engine
0001: wait 50 ms
04BA: set_car $TGHTOWTRUCK speed_instantly 0.0
0001: wait 2500 ms
016A: fade 0 () 750 ms
0001: wait 1000 ms
020A: set_car $TGHCAR door_status_to 0
0008: $TGHTANK += 1500;; integer values
0109: player $PLAYER_CHAR money += -100
0407: create_coordinate $TGHFILL_X $TGHFILL_Y $TGHFILL_Z from_car $TGHTOWTRUCK offset 6.0 0.0 2.0
0362: remove_actor $PLAYER_ACTOR from_car_and_place_at $TGHFILL_X $TGHFILL_Y $TGHFILL_Z
00A6: destroy_car $TGHTOWTRUCK
01C3: remove_references_to_car $TGHTOWTRUCK
0001: wait 1000 ms
016A: fade 1 (back) 750 ms
0002: jump ££TGHSTATION_2

Gangsta$$Nerd
05-19-2007, 03:20 AM
And there thats the full mod Enjoy and please post your pics of you playing (if it works)

.:nemesis:.
05-19-2007, 03:25 AM
First of all...

What does this mod do ?

And...

Wouldn't it have been easier to put all that in a zipped .txt file and attach it to the first post.

Asif
05-19-2007, 05:13 AM
Care to show us some screenshots of this mod?

Gangsta$$Nerd
05-19-2007, 09:30 PM
oh righty what does it do, well, not that this is really some thing that many ppl would want to use, but it makes you have to refuel your car every so often, ie 100 bucks can get you across the map twice, its really a realisim mod, and i would get some screen shots but i dont have sa installed any more

danoz
05-21-2007, 03:27 PM
thanks for the mod, but it doesn't work for me. I drived a car for a long time and everything is like before. there is no mentioning of fuel in the game.

also, is there any chance you could add a fuel meter to the game.

thanks!

Xan
05-21-2007, 03:45 PM
Kinda pointless. You could have least added it to the SCM and zipped it like a .rar or .zip

Some people aren't even going to know where to paste that code and why.

Asif
05-21-2007, 05:05 PM
Found this very similar topic (http://www.gtaforums.com/index.php?showtopic=2029 58) at GTAforums, this one is almost 2 years old. Yet, no updates from the mod author!

Anyway, since the author isn't present here to give clear instruction, this topic will stay closed until the author himself join and request to open it.