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

Happy Holidays from the GTANet team!

CLEO 3 or ASi Color mod?


TUN3R
 Share

Recommended Posts

I need a script that changes the color's on the car, all of them, including the secret ones. Kinda like the one from S0beit. I don't wanna use S0beit cause it's for lamesters.

 

Where can I find... or how can I make one?

Link to comment
Share on other sites

 

:cwait ifplayer.defined($player_char)jf @cifplayer.controllable($player_char)jf @cifactor.driving($player_actor)03C0: 0 = actor $PLAYER_ACTOR car :1wait 0if andactor.incar($player_actor, [email protected])0AB0:  key_pressed 96jf @1:2wait 003F3: get_car 0 primary_color_to [email protected] secondary_color_to [email protected] if04B7:  139 >= [email protected]  // any >= @jf @primaryif04B7:  139 >= [email protected]  // any >= @jf @secondary03F3: get_car 0 primary_color_to [email protected] secondary_color_to [email protected] 0087: [email protected] = [email protected] // (float) 0087: [email protected] = [email protected] // (float) 000A: [email protected] += 1000A: [email protected] += 10229: set_car [email protected] primary_color_to [email protected] secondary_color_to [email protected] @c:primarywait 00006: [email protected] = 1 jump @2:secondarywait 00006: [email protected] = 1  jump @2

 

 

it is untested, i created it in the post(and sanny builder opcode search, but the script was made here) biggrin.gif

 

BTW: this belongs to III Modding

Edited by yair1221
Link to comment
Share on other sites

first you need to put it as a script(with header-thread and all:)

 

 

{$cleo}thread 'Color':cwaitifplayer.defined($player_char)jf @cifplayer.controllable($player_char)jf @cifactor.driving($player_actor)03C0: 0 = actor $PLAYER_ACTOR car:1wait 0if andactor.incar($player_actor, [email protected])0AB0:  key_pressed 96jf @1:2wait 003F3: get_car 0 primary_color_to [email protected] secondary_color_to [email protected]:  127 >= [email protected]  // any >= @jf @primaryif04B7:  127 >= [email protected]  // any >= @jf @secondary03F3: get_car 0 primary_color_to [email protected] secondary_color_to [email protected]: [email protected] = [email protected] // (float)0087: [email protected] = [email protected] // (float)000A: [email protected] += 1000A: [email protected] += 10229: set_car [email protected] primary_color_to [email protected] secondary_color_to [email protected] @c:primarywait 00006: [email protected] = 1jump @2:secondarywait 00006: [email protected] = 1  jump @2

 

 

put it in sanny builder and press F6

 

Choose the location of the CLEO folder

 

now you need to enter a car and press 0

Link to comment
Share on other sites

 

{$cleo}thread 'Color':cwaitifplayer.defined($player_char)jf @cifplayer.controllable($player_char)jf @cifactor.driving($player_actor)03C0: 0 = actor $PLAYER_ACTOR car:1wait 0if andactor.incar($player_actor, [email protected])0AB0:  key_pressed 96jf @1:2wait 003F3: get_car 0 primary_color_to [email protected] secondary_color_to [email protected]:  127 >= [email protected]  // any >= @jf @primaryif04B7:  127 >= [email protected]  // any >= @jf @secondary03F3: get_car 0 primary_color_to [email protected] secondary_color_to [email protected]: [email protected] = [email protected] // (float)0087: [email protected] = [email protected] // (float)000A: [email protected] += 1000A: [email protected] += 10229: set_car [email protected] primary_color_to [email protected] secondary_color_to [email protected] @c:primarywait 00006: [email protected] = 1jump @2:secondarywait 00006: [email protected] = 1  jump @2

 

 

sorry dude it was my mistake

one small problem

Link to comment
Share on other sites

 

{$cleo}thread 'Color':cwait 0ifplayer.defined($player_char)jf @cifplayer.controllable($player_char)jf @cifactor.driving($player_actor)03C0: 0 = actor $PLAYER_ACTOR car:1wait 0if andactor.incar($player_actor, [email protected])0AB0:  key_pressed 96jf @1:2wait 003F3: get_car 0 primary_color_to [email protected] secondary_color_to [email protected]:  127 >= [email protected]  // any >= @jf @primaryif04B7:  127 >= [email protected]  // any >= @jf @secondary03F3: get_car 0 primary_color_to [email protected] secondary_color_to [email protected]: [email protected] = [email protected] // (float)0087: [email protected] = [email protected] // (float)000A: [email protected] += 1000A: [email protected] += 10229: set_car [email protected] primary_color_to [email protected] secondary_color_to [email protected] @c:primarywait 00006: [email protected] = 1jump @2:secondarywait 00006: [email protected] = 1  

 

@yair1221 When you post a code make sure it's right

Link to comment
Share on other sites

im sorry i told you i havent checked it

i built it in 'create post'

not sanny builder

well, i used the opcode search

Link to comment
Share on other sites

this one is tested

 

 

{$CLEO}thread 'color':cwait 0ifactor.Driving($player_actor)jf @cif0AB0:  key_pressed 16jf @c03C0: [email protected] = actor $PLAYER_ACTOR car 0229: set_car [email protected] primary_color_to 0 secondary_color_to 0:1wait 50003F3: get_car [email protected] primary_color_to [email protected] secondary_color_to [email protected]  if136 >= [email protected] @[email protected] += 10229: set_car [email protected] primary_color_to [email protected] secondary_color_to [email protected] @1:colorwait [email protected] = 0jump @1

 

 

i tested it right now

Link to comment
Share on other sites

Yeah the mod does compile but when I press 0 nothing happens. I tried Num 0 (with Num Lock on) too.

Link to comment
Share on other sites

 

{$CLEO .cs}thread 'PCCLR'[email protected] = 0 // (int) car [email protected] = 0 // (int) primary [email protected] = 0 // (int) secondary colour:STARTwait 20  if0256:   player $PLAYER_CHAR definedjf @STARTif03EE:   player $PLAYER_CHAR controllablejf @STARTif00DF:   actor $PLAYER_ACTOR drivingjf @STARTif and84AB:   not actor $PLAYER_ACTOR driving_plane84A9:   not actor $PLAYER_ACTOR driving_heli84A7:   not actor $PLAYER_ACTOR driving_boat847A:   not actor $PLAYER_ACTOR driving_bikejf @START03C0: [email protected] = actor $PLAYER_ACTOR car:LOOPwait 20  if0256:   player $PLAYER_CHAR defined                                                                                  jf @CLEANUPif8119:   not car [email protected] wreckedjf @CLEANUP00D6: if00DB:   actor $PLAYER_ACTOR in_car [email protected] @CLEANUP03F3: get_car [email protected] primary_color_to [email protected] secondary_color_to [email protected]:   key_pressed 96jf @LOOPif [email protected] > 128    // 128 is the last car colour; to run the script in a loop it starts with 0 again after reaching value 128jf @CHANGE_COLOUR0006: [email protected] = 0:CHANGE_COLOUR000A: [email protected] += 10229: set_car [email protected] primary_color_to [email protected] secondary_color_to [email protected] 100jump @LOOP:CLEANUP01C3: remove_references_to_car [email protected] // Like turning a car into any random car0006: [email protected] = 00006: [email protected] = 0wait 1000  jump @START 

 

The code is made by The_Siggi

Link to comment
Share on other sites

Yeah the mod does compile but when I press 0 nothing happens. I tried Num 0 (with Num Lock on) too.

cant be

i tested it right now

with many cars

it works

Link to comment
Share on other sites

 

Yeah the mod does compile but when I press 0 nothing happens. I tried Num 0 (with Num Lock on) too.

cant be

i tested it right now

with many cars

it works

Hmm. Maybe it's cause of my keyboard. How can I change the key?

 

EDIT:

 

@BnB

 

Yours works. But it applies the same color to all slots. Example: Phoenix body and stripe have the same color. It would also be helpful if I could browse between colors both ascending and descending. Also, tested in SA-MP and it doesn't apply the secret colors.

 

Anyway it works, so thanks smile.gif

 

EDIT 2: Nvm. As it seems the colors don't get synced in SA-MP at all...

Edited by TUN3R
Link to comment
Share on other sites

CLEO is a gift in SA MP...

i create a script to repair my car when i press a button, and then i go PARTY!! invincible!!

Link to comment
Share on other sites

CLEO is a gift in SA MP...

i create a script to repair my car when i press a button, and then i go PARTY!! invincible!!

I need this for aesthetic reasons... if I didn't mind cheating I would use S0beit.

Link to comment
Share on other sites

Well at least now I won't have to replace existing colors with my custom ones and have lime green cars spawning in SA alien.gif

Link to comment
Share on other sites

I found a way to sync it in SA-MP. It only works for ether carcolor1, 2 or 3 but not all. Just apply the color and go in TF, then change one of the colors.

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.