Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. Red Dead Redemption 2

      1. Gameplay
      2. Missions
      3. Help & Support
    2. Red Dead Online

      1. Gameplay
      2. Find Lobbies & Outlaws
      3. Help & Support
    1. Crews & Posses

      1. Recruitment
    2. Events

    1. GTA Online

      1. Arena War
      2. After Hours
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Grand Theft Auto Series

    3. GTA Next

    4. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    5. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA Mods
    6. GTA Chinatown Wars

    7. GTA Vice City Stories

    8. GTA Liberty City Stories

    9. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    10. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    11. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    12. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    13. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    3. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption

    2. Rockstar Games

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. News

    2. Forum Support

    3. Site Suggestions

cns

SA - Back to reality

Recommended Posts

cns

Mod updated, look at the first post.

Share this post


Link to post
Share on other sites
JahBit

In addition to what you and nubbel have already found I can only recall these spots:

user posted image

Share this post


Link to post
Share on other sites
blinky

... this f*cked up my savegames

 

I can start a new game, but do I have to move the script files back to load pre mod files?

Share this post


Link to post
Share on other sites
JahBit

Yeah that's what happens when you mod the main.scm... Just restore your backup files that you made before modding/adding a mod. rolleyes.gif . If you don't have backups I'm sure someone can send you theirs...

Share this post


Link to post
Share on other sites
Remix1121

It would really help if you could mark the gas stations on the map in game tounge.gif so you dont have to alt-tab every few min =P.. Awesome mod btw biggrin.gif i love it.

Share this post


Link to post
Share on other sites
cns

Upgraded petrol code:

now it depends from your driving skill (now only from car driving skill) if your skill more than 500 (more than a half), petrol drain will be more economy (2 times slower).

Share this post


Link to post
Share on other sites
cns
In addition to what you and nubbel have already found I can only recall these spots:

user posted image

I've already foun them, look at the map in the top post.

Share this post


Link to post
Share on other sites
nubbel

Thats a great mod, I will try it out soon!

Share this post


Link to post
Share on other sites
cns
It would really help if you could mark the gas stations on the map in game tounge.gif so you dont have to alt-tab every few min =P.. Awesome mod btw biggrin.gif i love it.

there is no icon with petrol in game...

Share this post


Link to post
Share on other sites
JahBit

One spot is still missing: the gas station next to the spot where you get the trucking missions from. But good work nonetheless.

Share this post


Link to post
Share on other sites
StEaLtH-SnIpEr

i second that about the ingame icon of petrol stations, make it just easier to find em, i thought you could add an icon into the game but i dont do much at all in modding, ill give mine ago an let you know if it works

Share this post


Link to post
Share on other sites
cns

One more petrol station added! It located in Bone counrty.

Share this post


Link to post
Share on other sites
cns

one more petroll and all propety assets are availible!

Edited by cns

Share this post


Link to post
Share on other sites
StEaLtH-SnIpEr

are you going to have icons on the radar to show the locations of the stations?

Share this post


Link to post
Share on other sites
cns

yes, but i dont know icon that can be used for this... all icons are useable, any offers what of them can be replaced?! or does somebody know how to add extra icon in game?!

Edited by cns

Share this post


Link to post
Share on other sites
StEaLtH-SnIpEr

for an icon i woulda said something like 'Shell' uno their logo, or BP or sommint + do you know the code to add an icon on the radar/ pause map

 

EDIT: got the code to add icons in :

Here

thanks to flitcroft101 for it tounge.gif

Edited by StEaLtH-SnIpEr

Share this post


Link to post
Share on other sites
cns

I mean what of them you think can be replaced!

Share this post


Link to post
Share on other sites
nubbel

Don't replace the icon, use the icon with ID 55

Share this post


Link to post
Share on other sites
cns

maybe I can create petrol icon instead id1 &! But I cant find in what txd it is.

I also can use Icon 32 cause there is no unaccessible asset in this mod...

Edited by cns

Share this post


Link to post
Share on other sites
StEaLtH-SnIpEr

i prefer the car logo, plus it dont seem to work changing the icon my whole hud comes out black and white with no colour and the icons are ocmpletely white

 

04CE: $pet1 = create_icon_marker_without_sphere 55 at 1944.018 -1773.317 12.90727

 

put it with my packed car gens and it works for one of the petrols stations, just need coords and 15 stations togo biggrin.gif

 

 

EDIT: is the garage you own in SF going to be a useable petrol station?

Edited by StEaLtH-SnIpEr

Share this post


Link to post
Share on other sites
cns

I'm very sorry, but I can't mark all prtrols... ater insertin this code

04CE: $PETROL1 = create_icon_marker_without_sphere  55 at  -90.0 -1168.5  45.004CE: $PETROL2 = create_icon_marker_without_sphere  55 at  2640.0 1107.0  45.004CE: $PETROL3 = create_icon_marker_without_sphere  55 at  2114.0 920.5  45.004CE: $PETROL4 = create_icon_marker_without_sphere  55 at  1596.0 2199.0  45.004CE: $PETROL5 = create_icon_marker_without_sphere  55 at  2202.0 2474.5  45.004CE: $PETROL6 = create_icon_marker_without_sphere  55 at  2148.0 2748.5  45.004CE: $PETROL7 = create_icon_marker_without_sphere  55 at  -1328.5 1863.0  45.004CE: $PETROL8 = create_icon_marker_without_sphere  55 at  -1471.0 -1168.5  45.004CE: $PETROL9 = create_icon_marker_without_sphere  55 at  -2410.0 975.0  45.004CE: $PETROL10 = create_icon_marker_without_sphere  55 at  -2243.5 -2561.0  45.004CE: $PETROL11 = create_icon_marker_without_sphere  55 at  -1606.0 -2714.5  45.004CE: $PETROL12 = create_icon_marker_without_sphere  55 at  1382.5 460.5  45.004CE: $PETROL13 = create_icon_marker_without_sphere  55 at  655.0 -564.5  45.004CE: $PETROL14 = create_icon_marker_without_sphere  55 at  -1676.0 413.0  45.004CE: $PETROL15 = create_icon_marker_without_sphere  55 at  615.0 1693.0  45.004CE: $PETROL16 = create_icon_marker_without_sphere  55 at  1943.0 -1773.5  45.0

 

in game when you begin todrive the game is crashing...

Share this post


Link to post
Share on other sites
.:Shady:.

This mod is nearly perfect. If we can just get the icons working, I can see no ways to improve it. Very good work, cns.

Share this post


Link to post
Share on other sites
sighko

one time, by acccident, i was able to get in the passenger and have the manual aim, i didn't do any code for it, do you know why this happened? maybe it would be cool to be able to control this..

Edited by sighko

Share this post


Link to post
Share on other sites
cns
one time, by acccident, i was able to get in the passenger and have the manual aim, i didn't do any code for it, do you know why this happened? maybe it would be cool to be able to control this..

if there any mission with this?! If you tell me where it was used I think i'll realize it.

Share this post


Link to post
Share on other sites
.:Shady:.

I remember the 2-player free-roam having that feature...

Share this post


Link to post
Share on other sites
upsetting_pear
Great... hope this mod turns out good!

Share this post


Link to post
Share on other sites
sighko

it doesn't matter what mission it came out of, i did it with your code one time and i've never been able to do it again.. just thought it was odd...

Share this post


Link to post
Share on other sites
cns

Codes used in MOD:

You can use them dont forget to say thanks.

 

 

;----Petrol----:Label02420403A4: name_thread "TANK"0209: $P381 = random_int 10 1000004: $P386 = -1;; integer values0004: $P382 = 0;; integer values0004: $P383 = 0;; integer values0084: $P383 = $P381;; integer values and handles0010: $P383 *= 10;; integer values000E: $P383 -= 10;; integer values0004: $P384 = 0;; integer values0084: $P382 = $P381;; integer values and handles0010: $P382 *= 10;; integer values03BC: $P385 = create_sphere 41.797 -1055.334 9.368 2.003BC: $P385 = create_sphere -868.786 -111.724 9.902 2.00652: $PDSKILL = stat  160 (driving skill) ; integer:Label0242830001: wait 0 ms00D6: if 000DF:   actor $PLAYER_ACTOR driving 004D: jump_if_false ££Label02428303C0: $P386 = actor $PLAYER_ACTOR car:Label02429F0001: wait 0 ms  00D6: if  58137:   NOT   car $PLCAR id == #BMX8137:   NOT   car $PLCAR id == #BIKE8137:   NOT   car $PLCAR id == #MTBIKE8137:   NOT   car $PLCAR id == #FREIGHT8137:   NOT   car $PLCAR id == #BAGGAGE8137:   NOT   car $PLCAR id == #SWEEPER004D: jump_if_false ££Label024283      00D6: if  38137:   NOT   car $PLCAR id == #TRAM8137:   NOT   car $PLCAR id == #CADDY8137:   NOT   car $PLCAR id == #FREIFLAT8137:   NOT   car $PLCAR id == #freibox004D: jump_if_false ££Label02428300D6: if 00038:   $ON_MISSION ==  0 ;; integer values004D: jump_if_false ££Label024283          0001: wait 0 ms   04F7: status_text $P381  1 line  1 'PETRST'00D6: if 0 00DF:   actor $PLAYER_ACTOR driving004D: jump_if_false ££Label0246CD  :Label0242C40001: wait 0 ms00D6: if 000DF:   actor $PLAYER_ACTOR driving004D: jump_if_false ££Label0246CD00D6: if 00018: $P381 > 0;; integer values004D: jump_if_false ££Label02470B02E3: $P384 = car $P386 speed0011: $P384 *= 4.0;; floating-point values008C: $P384 = float_to_integer $P38400D6: if 00019:   $P384  >  15 ;; integer values       004D: jump_if_false ££RASHOD100D6: if 0        0019:   $P384  >  90 ;; integer values       004D: jump_if_false ££RASHOD200D6: if 0        0019:   $P384  >  150 ;; integer values       004D: jump_if_false ££RASHOD300D6: if 0        0019:   $P384  >  200 ;; integer values       004D: jump_if_false ££RASHOD400D6: if 00019:   $P384  >  250 ;; integer values       004D: jump_if_false ££RASHOD5 0002: jump ££RASHOD6:RASHOD1 0001: wait 0 ms 0004: $PETRASH = 2;; integer values0002: jump ££PETRSKILLBONUS:RASHOD2 0001: wait 0 ms 0004: $PETRASH = 4;; integer values0002: jump ££PETRSKILLBONUS:RASHOD3 0001: wait 0 ms 0004: $PETRASH = 6;; integer values0002: jump ££PETRSKILLBONUS:RASHOD4 0001: wait 0 ms 0004: $PETRASH = 8;; integer values0002: jump ££PETRSKILLBONUS:RASHOD5 0001: wait 0 ms 0004: $PETRASH = 10;; integer values0002: jump ££PETRSKILLBONUS:RASHOD6 0001: wait 0 ms 0004: $PETRASH = 12;; integer values0002: jump ££PETRSKILLBONUS                                :PETRSKILLBONUS0001: wait 0 ms                                   0652: $PDSKILL = stat  160 (driving skill) ; integer00D6: if 00018: $PDSKILL > 500;; integer values004D: jump_if_false ££RASHODPETROL0014: $PETRASH /=  2 ;; integer values:RASHODPETROL                                     0001: wait 2000 ms                                   000E: $P382 -= $PETRASH;; integer values00D6: if 0001C:  $P383 > $P382;; integer values004D: jump_if_false ££Label0242C4                      000E: $P383 -= 10;; integer values000E: $P381 -= 1;; integer values 0002: jump ££Label0242C4:Label0246B10001: wait 0 ms0209: $P381 = random_int 35 10003C0: $P386 = actor $PLAYER_ACTOR car0002: jump ££Label02429F:Label0246CD0001: wait 0 ms0151: remove_status_text $P3810002: jump ££Label0246DD:Label0246DD0001: wait 0 ms00D6: if 000DF:   actor $PLAYER_ACTOR driving004D: jump_if_false ££Label0246DD00D6: if 10448:   actor $PLAYER_ACTOR in_car $P38600DF:   actor $PLAYER_ACTOR driving004D: jump_if_false ££Label0246B10002: jump ££Label02429F:Label02470B0001: wait 0 ms01B4: set_player $PLAYER_CHAR frozen_state 0 (frozen)02D4: unknown_turn_off_car $P386 engine01B4: set_player $PLAYER_CHAR frozen_state 1 (unfrozen)0001: wait 1000 ms0002: jump ££Label0242C4

 

 

 

;-------Petrol stations-------:PETROLSTATION  0001: wait 0 ms00D6: if 000DF:   actor $PLAYER_ACTOR driving004D: jump_if_false ££PETROLSTATION 00D6: if 08103:  NOT  actor $PLAYER_ACTOR stopped_near_point_in_car 2640.0 1107.0 10.0 radius  5.5  8.7  2.0 sphere  0004D: jump_if_false ££REFUEL                 00D6: if 08103:  NOT actor $PLAYER_ACTOR stopped_near_point_in_car 2114.0 919.0 11.0 radius  5.5  8.7  2.0 sphere  0004D: jump_if_false ££REFUEL                 00D6: if 08103:  NOT actor $PLAYER_ACTOR stopped_near_point_in_car 1597.0 2199.0 11.5 radius  5.5  8.7  2.0 sphere  0004D: jump_if_false ££REFUEL                                    00D6: if 08103:  NOT actor $PLAYER_ACTOR stopped_near_point_in_car 2202.0 2473.0 11.0 radius  8.7  5.5  2.0 sphere  0004D: jump_if_false ££REFUEL00D6: if 08103:  NOT actor $PLAYER_ACTOR stopped_near_point_in_car 2146.5 2753.4 11.0 radius  5.5  3.5  2.0 sphere  0004D: jump_if_false ££REFUEL     00D6: if 08103:  NOT actor $PLAYER_ACTOR stopped_near_point_in_car -1328.1 2677.3 50.0 radius  2.0  10.0  2.0 sphere  0004D: jump_if_false ££REFUEL         00D6: if 08103:  NOT actor $PLAYER_ACTOR stopped_near_point_in_car -1471.0 1864.5 32.0 radius  8.0  8.0  2.0 sphere  0004D: jump_if_false ££REFUEL                           00D6: if 28103:  NOT actor $PLAYER_ACTOR stopped_near_point_in_car -1465.0 1870.5 32.0 radius  3.0  3.0  2.0 sphere  08103:  NOT actor $PLAYER_ACTOR stopped_near_point_in_car -2410.5 975.5 45.5 radius  7.5  4.0  2.0 sphere  08103:  NOT actor $PLAYER_ACTOR stopped_near_point_in_car -1677.7 415.0 7.3 radius  15.5  15.5  2.0 sphere  0004D: jump_if_false ££REFUEL     00D6: if 08103:  NOT actor $PLAYER_ACTOR stopped_near_point_in_car -2247.2 -2560.5 32.0 radius  3.5  3.5  2.0 sphere  0004D: jump_if_false ££REFUEL                                   00D6: if 08103:  NOT actor $PLAYER_ACTOR stopped_near_point_in_car -2242.5 -2563.1 32.0 radius  3.5  3.5  2.0 sphere  0004D: jump_if_false ££REFUEL                                                                                                       00D6: if 08103:  NOT actor $PLAYER_ACTOR stopped_near_point_in_car 1382.5 460.0 20.3 radius  4.0  7.0  2.0 sphere  0004D: jump_if_false ££REFUEL   00D6: if 08103:  NOT actor $PLAYER_ACTOR stopped_near_point_in_car 655.6 -565.0 16.3 radius  4.0  8.0  2.0 sphere  0004D: jump_if_false ££REFUEL 00D6: if 18103:  NOT actor $PLAYER_ACTOR stopped_near_point_in_car 1942.4 -1773.0 13.3 radius  4.0  9.0  2.0 sphere  08103:  NOT actor $PLAYER_ACTOR stopped_near_point_in_car -1605.4 -2714.0 48.3 radius  10.0  13.0  2.0 sphere  0004D: jump_if_false ££REFUEL  00D6: if 200DF:   actor $PLAYER_ACTOR driving02A0:   actor $PLAYER_ACTOR stopped  00A4:   actor $PLAYER_ACTOR  0 ()in_cube 598.0 1708.7 6.5  629.3 1675.8  9.0004D: jump_if_false ££PETROLSTATION20002: jump ££REFUEL                 :PETROLSTATION2                     00D6: if 200DF:   actor $PLAYER_ACTOR driving02A0:   actor $PLAYER_ACTOR stopped  00A4:   actor $PLAYER_ACTOR  0 ()in_cube -87.6 -1179.1 2.0  -95.0 -1159.5  5.0004D: jump_if_false ££PETROLSTATION0002: jump ££REFUEL                 :REFUEL        0001: wait 100 ms  00D6: if  68137:   NOT   car  $P386 id == #BMX8137:   NOT   car  $P386 id == #BIKE8137:   NOT   car  $P386 id == #MTBIKE8137:   NOT   car  $P386 id == #FREIGHT8137:   NOT   car  $P386 id == #BAGGAGE8137:   NOT   car  $P386 id == #CADDY8137:   NOT   car  $P386 id == #SWEEPER004D: jump_if_false ££PETROLSTATION  00D6: if  28137:   NOT   car  $P386 id == #TRAM8137:   NOT   car  $P386 id == #FREIFLAT8137:   NOT   car  $P386 id == #freibox004D: jump_if_false ££PETROLSTATION  00D6: if 08018: NOT $P381 > 99;; integer values004D: jump_if_false ££TANKFULL 00D6: if 0010A: player $PLAYER_CHAR money > 15004D: jump_if_false ££NOMONEY 0008: $P381 += 1;; integer values0109: player $PLAYER_CHAR money += -15 0002: jump ££PETROLSTATION    :TANKFULL                     0001: wait 0 ms  00BC: text_highpriority 'TANKFU'  1000 ms  1 ; ~s~Come back between 9:00 and 17:00.0002: jump ££PETROLSTATION    :NOMONEY0001: wait 0 ms  00BC: text_highpriority 'PETMON'  1000 ms  1 ; ~s~Come back between 9:00 and 17:00.0002: jump ££PETROLSTATION     

 

 

 

;------Passenger-------:Label02ABFE0001: wait  0 ms03A4: name_thread "PASSENGER"0004: $422 =  0 ;; integer values0004: $423 = -1 ;; integer values00D6: if  08449:  NOT actor $PLAYER_ACTOR in_a_car004D: jump_if_false ££Label02ABFE 00D6: if  000E1:   key_pressed  0  13004D: jump_if_false ££Label02ABFE00A0: store_actor $PLAYER_ACTOR position_to $424 $425 $4260086: $427 = $424 ;; floating-point values only0009: $427 +=  3.0 ;; floating-point values0086: $428 = $425 ;; floating-point values only0009: $428 +=  3.0 ;; floating-point values0086: $429 = $427 ;; floating-point values only000D: $429 -=  6.0 ;; floating-point values0086: $42A = $428 ;; floating-point values only000D: $42A -=  6.0 ;; floating-point values053E: $423 = get_random_car_with_actors -1 in_area $427 $428 $429 $42A0004: $422 =  1 ;; integer values0001: wait  0 ms00D6: if  08038:   NOT   $423 == -1 ;; integer values004D: jump_if_false ££Label02ABFE00D6: if  08038:   NOT   $422 ==  0 ;; integer values004D: jump_if_false ££Label02ABFE   :SEATS_CHECK    0001: wait  0 ms00D6: if  00431:  car $423 car_passenger_seat_free  0004D: jump_if_false ££SEATS_CHECK2 07A1:  4 05CA: unknown_action_sequence $PLAYER_ACTOR $423  10000  00002: jump ££DRIVER:SEATS_CHECK2    0001: wait  0 ms00D6: if  00431:  car $423  car_passenger_seat_free  1004D: jump_if_false ££SEATS_CHECK3 07A1:  405CA: unknown_action_sequence $PLAYER_ACTOR $423  10000  10002: jump ££DRIVER:SEATS_CHECK3    0001: wait  0 ms00D6: if  00431:  car $423  car_passenger_seat_free  2004D: jump_if_false ££NOSEATS 07A1:  4 05CA: unknown_action_sequence $PLAYER_ACTOR $423  10000  20002: jump ££DRIVER  :DRIVER0001: wait  0 ms     004F: create_thread ££Label02AE1D 00D6: if  080DB: NOT  actor $PLAYER_ACTOR in_car $423004D: jump_if_false ££Label02ACD9 0001: wait  20000 ms     00D6: if  080DB: NOT  actor $PLAYER_ACTOR in_car $423004D: jump_if_false ££Label02ACD90002: jump ££Label02AE48:Label02ACD90001: wait  0 ms00D6: if  000DB:   actor $PLAYER_ACTOR in_car $423004D: jump_if_false ££Label02ACD900D6: if  00209: $42B = random_int  1  30001: wait  0 ms00D6: if  00038:   $42B ==  1 ;; integer values004D: jump_if_false ££Label02AD4200AD: set_car $423 max_speed_to  20.000AF: set_car $423 driver_behaviour_to  1000A8: set_car $423 to_psycho_driver0002: jump ££Label02AD92:Label02AD420001: wait  0 ms00D6: if  00038:   $42B ==  2 ;; integer values004D: jump_if_false ££Label02AD9200AD: set_car $423 max_speed_to  40.000AE: unknown_set_car $423 to_ignore_traffic_lights  200AF: set_car $423 driver_behaviour_to  1000A8: set_car $423 to_psycho_driver0002: jump ££Label02AD92:Label02AD920001: wait  0 ms00D6: if  00256:   player $PLAYER_CHAR defined004D: jump_if_false ££Label02AE4800D6: if  08119:   NOT   car $423 wrecked004D: jump_if_false ££Label02AE4800D6: if  000DB:   actor $PLAYER_ACTOR in_car $423004D: jump_if_false ££Label02ADEE:Label02ADEE0001: wait  0 ms00D6: if  080DB:   NOT   actor $PLAYER_ACTOR in_car $423004D: jump_if_false ££Label02ADEE00AD: set_car $423 max_speed_to  10.001C3: remove_references_to_car $423 ;; Like turning a car into any random car0002: jump ££Label02ABFE004E: end_thread:Label02AE1D0001: wait  5000 ms00D6: if  080DB:   NOT   actor $PLAYER_ACTOR in_car $423004D: jump_if_false ££Label02AE4201C3: remove_references_to_car $423 ;; Like turning a car into any random car004F: create_thread ££Label02ABFE   :Label02AE480001: wait  0 ms01C3: remove_references_to_car $423 ;; Like turning a car into any random car0002: jump ££Label02ABFE:NOSEATS        0001: wait  0 ms        0002: jump ££Label02ABFE004E: end_thread  

 

 

 

 

;------Carcracking------:CARCRACK0001: wait  0 ms03A4: name_thread "CARCRACK"0004: $S422 =  0 ;; integer values0004: $S423 = -1 ;; integer values00D6: if  08449:  NOT actor $PLAYER_ACTOR in_a_car004D: jump_if_false ££CARCRACK 00D6: if  000E1:   key_pressed  0  19004D: jump_if_false ££CARCRACK 0001: wait  1000 ms00D6: if  000E1:   key_pressed  0  19004D: jump_if_false ££CARCRACK00A0: store_actor $PLAYER_ACTOR position_to $S424 $S425 $S4260086: $S427 = $S424 ;; floating-point values only0009: $S427 +=  3.0 ;; floating-point values0086: $S428 = $S425 ;; floating-point values only0009: $S428 +=  3.0 ;; floating-point values0086: $S429 = $S427 ;; floating-point values only000D: $S429 -=  6.0 ;; floating-point values0086: $S42A = $S428 ;; floating-point values only000D: $S42A -=  6.0 ;; floating-point values053E: $S423 = get_random_car_with_actors -1 in_area $S427 $S428 $S429 $S42A0004: $S422 =  1 ;; integer values0001: wait  0 ms00D6: if  08038:   NOT   $S423 == -1 ;; integer values004D: jump_if_false ££CARCRACK00D6: if  08038:   NOT   $S422 ==  0 ;; integer values004D: jump_if_false ££CARCRACK    00D6: if  08449:  NOT actor $PLAYER_ACTOR in_a_car004D: jump_if_false ££CARCRACK 020A: set_car $S423 door_status_to  103E5: text_box 'DUNLOCK'0001: wait  1000 ms03E6: remove_text_box 01C3: remove_references_to_car $S423 ;; Like turning a car into any random car0002: jump ££CARCRACK 004E: end_thread 

 

 

 

 

;-------Door locker-----:DOORCLOSER0001: wait  0 ms03A4: name_thread "DLOCK"004F: create_thread ££CARCHECKER 0006: $CDST =  1 ;; integer values:Label00F8850001: wait  0 ms00D6: if  100E1:   key_pressed  0  1800DF:   actor $PLAYER_ACTOR driving004D: jump_if_false ££Label00F885 0001: wait  1500 ms00D6: if  100E1:   key_pressed  0  1800DF:   actor $PLAYER_ACTOR driving004D: jump_if_false ££Label00F8850002: jump ££Label00F8B5:Label00F8B50001: wait  0 ms00D6: if  00019:   $CDST >  0 ;; integer values004D: jump_if_false ££Label00F8EC 00D6: if  68137:   NOT   car $PLCAR id == #BIKE          8137:   NOT   car $PLCAR id == #PIZZABOY8137:   NOT   car $PLCAR id == #SANCHEZ8137:   NOT   car $PLCAR id == #FCR9008137:   NOT   car $PLCAR id == #NRG5008137:   NOT   car $PLCAR id == #COPBIKE8137:   NOT   car $PLCAR id == #BF400 004D: jump_if_false ££Label00F88500D6: if  48137:   NOT   car $PLCAR id == #QUAD8137:   NOT   car $PLCAR id == #BMX           8137:   NOT   car $PLCAR id == #MTBIKE           8137:   NOT   car $PLCAR id == #FREEWAY       8137:   NOT   car $PLCAR id == #BANDITO 004D: jump_if_false ££Label00F885 00D6: if  58137:   NOT   car $PLCAR id == #PREDATOR8137:   NOT   car $PLCAR id == #SPEEDER      8137:   NOT   car $PLCAR id == #REEFER                  8137:   NOT   car $PLCAR id == #SQUALO                  8137:   NOT   car $PLCAR id == #COASTG                   8137:   NOT   car $PLCAR id == #DINGHY        004D: jump_if_false ££Label00F88500D6: if  68137:   NOT   car $PLCAR id == #MARQUIS      8137:   NOT   car $PLCAR id == #JETMAX            8137:   NOT   car $PLCAR id == #LAUNCH                         8137:   NOT   car $PLCAR id == #BFINJECT8137:   NOT   car $PLCAR id == #FORKLIFT8137:   NOT   car $PLCAR id == #KART8137:   NOT   car $PLCAR id == #CADDY004D: jump_if_false ££Label00F885       00D6: if  28137:   NOT   car $PLCAR id == #TRACTOR8137:   NOT   car $PLCAR id == #TROPIC8137:   NOT   car $PLCAR id == #SWEEPER004D: jump_if_false ££Label00F885                                                                 03E5: text_box 'DLOCK'020A: set_car $PLCAR door_status_to  20006: $CDST =  0 ;; integer values0001: wait  1000 ms  03E6: remove_text_box0002: jump ££Label00F885:Label00F8EC0001: wait  0 ms020A: set_car $PLCAR door_status_to  10006: $CDST =  1 ;; integer values03E5: text_box 'DUNLOCK'0001: wait  1000 ms03E6: remove_text_box0002: jump ££Label00F885:CARCHECKER0001: wait  0 ms00D6: if  000DF:   actor $PLAYER_ACTOR driving004D: jump_if_false ££CARCHECKER03C0: $PLCAR = actor $PLAYER_ACTOR car           :CARCHECKER20001: wait  0 ms00D6: if  080DF: NOT  actor $PLAYER_ACTOR driving004D: jump_if_false ££CARCHECKER20006: $CDST =  1 ;; integer values01C3: remove_references_to_car $PLCAR0002: jump ££CARCHECKER004E: end_thread     

 

 

Share this post


Link to post
Share on other sites
.:Shady:.

How would you change the word "Petrol" next to the blue status bar? I'm asking because when I use this mod on the Xbox, the word doesn't show up. There is nothing next to the blue bar. This is the only thing keeping this mod from being perfect on my Xbox, I just need a little help. Thanks again.

Share this post


Link to post
Share on other sites
nubbel

Do you have to add any create_threads to use the code above, or just add this code before the -Mission 0- part ?

Share this post


Link to post
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

×

Important Information

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