Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Drug Wars
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

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

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

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

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

    2. Support

    3. Suggestions

Car cleo


cj360
 Share

Recommended Posts

Hi me again suicidal.gif I made this the other day it works okay till t is pressed it doesn't set the car immune. confused.gif though it might be the return or the last jumps becuz I don't want label 331 to read 332 except for the jump_if_false. And I'm not sure how to 0674: to work.

 

{$CLEO .cs}03A4: name_thread 'AUDI' :AUDI_110001: wait 500 ms 00D6: if and0038:   $ACTIVE_INTERIOR == 0 03EE:   player $PLAYER_CHAR controllable 0256:   player $PLAYER_CHAR defined 09E7:   player $PLAYER_CHAR not_frozen 8741:   not actor $PLAYER_ACTOR busted 004D: jump_if_false @AUDI_11 0001: wait 0 ms 0A8D: [email protected] = read_memory 0x00969110 size 4 virtual_protect 0 00D6: if 04A4:   [email protected] == 0x32303038 // 2008 004D: jump_if_false @AUDI_11 0A8C: write_memory 0x00969110 size 4 value 0 virtual_protect 0 0247: load_model #SUPERGT 038B: load_requested_models :AUDI_1130001: wait 0 ms 00D6: if 0248:   model #SUPERGT available 004D: jump_if_false @AUDI_113 0001: wait 0 ms 0208: [email protected] = random_float_in_ranges -10.0 10.0 0208: [email protected] = random_float_in_ranges -10.0 10.0 04C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset [email protected] [email protected] 0.0 000B: [email protected] += 1000.0 02CE: [email protected] = ground_z_at [email protected] [email protected] [email protected] 020C: create_explosion_with_radius 11 at [email protected] [email protected] [email protected] 0001: wait 0 ms 00A5: [email protected] = create_car #SUPERGT at [email protected] [email protected] [email protected] 0674: set_car_model [email protected] numberplate "SUSPECT_" 0249: release_model #SUPERGT :AUDI_331wait 0 msif and00DD:   actor $PLAYER_ACTOR driving_car_with_model [email protected] 0AB0:  key_pressed 84004D: jump_if_false @AUDI_331wait 0 ms if [email protected] = 0jf @AUDI_33203C0: [email protected] = actor $PLAYER_ACTOR car 0AB1: call_scm_func @SubStrings 1 @txtgod102AA: set_car [email protected] immune_to_nonplayer 1 02AC: set_car [email protected] immunities BP 1 FP 1 EP 1 CP 1 MP 1053F: set_car [email protected] tires_vulnerability 0 jump @AUDI_113:AUDI_3320AB1: call_scm_func @SubStrings 1 @txtgod002AA: set_car [email protected] immune_to_nonplayer 0 02AC: set_car [email protected] immunities BP 0 FP 0 EP 0 CP 0 MP 0053F: set_car [email protected] tires_vulnerability [email protected] = 0return:SubStrings 0A9F: [email protected] = [email protected] += 0x100A8D: [email protected] = read_memory [email protected] size 4 virtual_protect 00062: [email protected] -= [email protected] [email protected] += 4if 0AA9:    is_game_version_originaljf @SubStringsV110AA5: call 0x588BE0 num_params 4 pop 4 0 0 0 [email protected] @SubStringsret:SubStringsV110AA5: call 0x5893B0 num_params 4 pop 4 0 0 0 [email protected]:SubStringsret0AB2: ret 0:txtgod00900: "GOD MODE DEACTIVATED":txtgod10900: "GOD MODE ACTIVATED"0000: null_termitator

 

Edited by cj360
Link to comment
Share on other sites

I know I'm not helping here, but may I ask why you always put this:

 

 

//-------------MAIN---------------

 

 

It's not necessary

Link to comment
Share on other sites

and I suppose you hold the rule book on the "normal way to code" eh? ffs- idiotas.. why don't you just post "wow, nice code man, I have no clue of wtf you're trying to do there so I'll just freepost random irrelevant crap.. that way, all the noobs will think I know wtf I'm talking about" xD icon13.gif

edit- oops, forgot to add this.. urhrhrhrhr

 

being that nothing's defined to return to.. I would say that's definitely contributing to your dilemma, and from my experiences, the 0674 seems to only work on cars created with a generator

Edited by stripprpimp
Link to comment
Share on other sites

 

and I suppose you hold the rule book on the "normal way to code"

 

Yeah, I do actually, I have it here:

 

user posted image

 

 

eh? ffs- idiotas.. why don't you just post "wow, nice code man, I have no clue of wtf you're trying to do there so I'll just freepost random irrelevant crap.. that way, all the noobs will think I know wtf I'm talking about" xD  icon13.gif

edit- oops, forgot to add this.. urhrhrhrhr

 

being that nothing's defined to return to.. I would say that's definitely contributing to your dilemma, and from my experiences, the 0674 seems to only work on cars created with a generator

 

I don't really know who the f*ck you think you are but it's called helping somone optimize code. Oh, and come back when you actually can code like most of us on the forum. I hate it when noobs sign up and think they are know alls.

 

 

@CJ360

 

NICE CODE MAN! /end sarcasm to stripprpimp

 

I'm thinking this is your problem:

 

 

if [email protected] = 0jf @AUDI_332

 

 

For a check, I usually use:

 

 

0039:   [email protected] == 0 

 

 

And try adding

 

 

[email protected] = 0

 

 

To the first part, something like this:

 

 

0247: load_model #SUPERGT 038B: [email protected] = 0

 

 

That's all I can think of really. But one thing, does the text for 'God Mode' show up?

Edited by james227uk
Link to comment
Share on other sites

2pacproducer2

 

and I suppose you hold the rule book on the "normal way to code"

 

Yeah, your right actually, I have it here:

 

user posted image

xD

 

 

And, I think I have already created such mod, try looking in www.2pacmods.ucoz.com , in the gta sa download section, there is a mod when you type CARI the car you are sitting in will be immortal ( dont know the correct word xD )

 

Anyway, look at my script there, maybe it will help you.

Edited by 2pacproducer2
Link to comment
Share on other sites

yay! 227 actually decides to help instead of be his usual arrogant self-righteous prick self.. oh wait, he didn't decide to help until I came in and ruffled some feathers so scratch the arrogant self-righteous stuff - btw, please explain to me how erasing //something as insignificant as your reflection from the code is "optimizing" it? it isn't- you're just making up lame excuses for the ignorant behavior you display all over these boards - and believe, I knew if I didn't offer up the obvious failures, you'd come back in here and save face -lol, predictable mental simpleton - ay, here's an idea, convince yourself that I'm a noob and I can't code because all you see is that join date buahahaaha -jackass- next time, post your last post first and you won't be made a fool

Link to comment
Share on other sites

 

yay! 227 actually decides to help instead of be his usual arrogant self-righteous prick self.. oh wait, he didn't decide to help until I came in and ruffled some feathers so scratch the arrogant self-righteous stuff - btw, please explain to me how erasing //something as insignificant as your reflection from the code is "optimizing" it? it isn't- you're just making up lame excuses for the ignorant behavior you display all over these boards - and believe, I knew if I didn't offer up the obvious failures, you'd come back in here and save face -lol, predictable mental simpleton - ay, here's an idea, convince yourself that I'm a noob and I can't code because all you see is that join date buahahaaha -jackass- next time, post your last post first and you won't be made a fool

Only fool here is you you piece of sh*t. And at the end of the day, I don't see you helping either. Infact, I can't see that you helped anyone. And, I can't see any of your mods in the showroom.

 

BTW: I posted my first message

on my 5 min break at work, a.k.a, nightshift

 

*reported to moderator for flaming

 

and it's james227uk pimpy. Go and scruffle into the little hole you came from. The last thing this board needs is another noob flamer.

 

 

My last word on the subject

 

@CJ360

 

I mentioned it to save you time. I remember before I used to copy the exact amount of -'s ...lol.

 

And here's 2pac's thing: http://2pacmods.ucoz.com/index/0-5

 

Scroll down to 'The Ultimate Car Mod'

Edited by james227uk
Link to comment
Share on other sites

Well, since cj360 posted, the topic to get help, not so people can fight in it, over stupid things.

I will help. You're script has many errors, here look at the stuff, I changed, and edited, then you can learn from it:

And many other mistakes, I fixed the script, should work now.

 

 

 

{$CLEO}03A4: name_thread 'AUDI':AUDI_010001: wait 250 ms00D6: if and0038:   $ACTIVE_INTERIOR == 003EE:   player $PLAYER_CHAR controllable0256:   player $PLAYER_CHAR defined09E7:   player $PLAYER_CHAR not_frozen8741:   not actor $PLAYER_ACTOR busted004D: jump_if_false @AUDI_010A8D: [email protected] = read_memory 0x00969110 size 4 virtual_protect 000D6: if04A4:   [email protected] == 0x32303038 // 2008004D: jump_if_false @AUDI_010A8C: write_memory 0x00969110 size 4 value 0 virtual_protect 00247: load_model #SUPERGT038B: load_requested_models:AUDI_020001: wait 0 ms00D6: if0248:   model #SUPERGT available004D: jump_if_false @AUDI_020208: [email protected] = random_float_in_ranges -10.0 10.00208: [email protected] = random_float_in_ranges -12.0 10.004C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset [email protected] [email protected] 0.0020C: create_explosion_with_radius 11 at [email protected] [email protected] [email protected]: wait 750 ms  // small wait, so the explode does not blow up the car0674: set_car_model #SUPERGT numberplate "SUSPECT_"00A5: [email protected] = create_car #SUPERGT at [email protected] [email protected] [email protected]: release_model #SUPERGT:AUDI_030001: wait 0 ms00D6: if 0AB0:  key_pressed 84004D: jump_if_false @AUDI_030001: wait 250 ms0AB1: call_scm_func @SubStrings 1 @txtgod102AA: set_car [email protected] immune_to_nonplayer 102AC: set_car [email protected] immunities BP 1 FP 1 EP 1 CP 1 MP 1053F: set_car [email protected] tires_vulnerability 0               :AUDI_040001: wait 0 ms     // type the cheat again to deactivate0A8D: [email protected] = read_memory 0x00969110 size 4 virtual_protect 000D6: if04A4:   [email protected] == 0x32303038 // 2008004D: jump_if_false @AUDI_040A8C: write_memory 0x00969110 size 4 value 0 virtual_protect 00001: wait 250 ms0AB1: call_scm_func @SubStrings 1 @txtgod002AA: set_car [email protected] immune_to_nonplayer 002AC: set_car [email protected] immunities BP 0 FP 0 EP 0 CP 0 MP 0053F: set_car [email protected] tires_vulnerability 10001: wait 250 ms 01C3: remove_references_to_car [email protected] // Like turning a car into any random car 0002: jump @AUDI_01:SubStrings    0A9F: [email protected] = current_thread_pointer000A: [email protected] += 0x100A8D: [email protected] = read_memory [email protected] size 4 virtual_protect 00062: [email protected] -= [email protected]@ += 400D6: if  0AA9:   is_game_version_original  then   0AA5: call 0x588BE0 num_params 4 pop 4 0 0 0 [email protected]   0AA5: call 0x5893B0 num_params 4 pop 4 0 0 0 [email protected] end0AB2: ret 0:txtgod00900: "GOD MODE DEACTIVATED":txtgod10900: "GOD MODE ACTIVATED"0000: null_termitator

 

 

@cj360, I recommend you check out my site, there is a Mission Coding forum is English, and there is a lot of information, on scripting in here.

 

 

James, the pic is nice : )

Link to comment
Share on other sites

@cj360, I recommend you check out my site, there is a Mission Coding forum is English, and there is a lot of information, on scripting in here.

 

The full site is in german until you sign up.

 

 

James, the pic is nice : )

 

yay..lol

Link to comment
Share on other sites

 

@cj360, I recommend you check out my site, there is a Mission Coding forum is English, and there is a lot of information, on scripting in here.

 

The full site is in german until you sign up.

 

 

I will change that later, sorry about that.

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
 Share

  • 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.