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. Forum Support

    3. Suggestions

[SA|CLEO] CLEO3 MODS (are working also for Cleo4 and higher)


ZAZ
 Share

Recommended Posts

Nice to see you again ZAZ xD

 

You should hav a look @ the request in the 'Request Mod' thread lol "Driveby in aircraft" lol.gifsuicidal.gif

Link to comment
Share on other sites

Hello ZAZ,

sorry to bother you, but could you make me a script that adds 500 ammo to the weapon you have in your hand while pressing INSERT key for example?

thanks

Why not, it's simple and makes sense

copy the script below or download the file here:AmmoIncrease

 

{$CLEO .cs}03A4: name_thread 'AMOINCR'while true   wait 0      if    Player.Defined($PLAYER_CHAR)   then       if and       8965:   not actor $PLAYER_ACTOR swimming        0AB0:   key_pressed 45//  insert key       then           0470: [email protected] = actor $PLAYER_ACTOR current_weapon           wait 0           if  and           [email protected] > 15           44 > [email protected]           not  [email protected] == 40           then               041A: [email protected] = actor $PLAYER_ACTOR weapon [email protected] ammo               [email protected] += 500               017B: set_actor $PLAYER_ACTOR weapon [email protected] ammo_to [email protected]               repeat               wait 0               03F0: enable_text_draw 1               045A: draw_text_1number 440.0 70.0 GXT 'NUMBER' number [email protected]  // ~1~               until 8AB0:  not key_pressed 45//  insert key                      end       end   endend

 

thanks ZAZ smile.gif

Is there any way to make a script to reload your weapon at keypress, but without making any animation? I managed to make a script that changes to fist, then back to the weapon you had in your hand orginally (by pressing R), but it's kinda slow and if you press it while aiming the weapon, it doesn't work well. Sorry for bothering you.

Link to comment
Share on other sites

Is there any way to make a script to reload your weapon at keypress, but without making any animation? I managed to make a script that changes to fist, then back to the weapon you had in your hand orginally (by pressing R), but it's kinda slow and if you press it while aiming the weapon, it doesn't work well. Sorry for bothering you.

i don't know a code to do that

Link to comment
Share on other sites

aStiffSausage

How about script to make shotgun reload a bit more real? Instead of playing reload-animation and getting magically full magazine, would it be possible to add only one shell in the magazine after each reload-animation?

Link to comment
Share on other sites

Hello ZAZ,first of all,i must say you sorry for my bad english typing. tounge.gif

Ok,looking on web about cleo scripts,I fond this page:

 

http://www.gtaforums.com/index.php?showtopic=422014

 

And,sure,im impressed about this script,cause I ever wanted a great racing script for gta:sa,and these one is really great at all. wow.gif

But im got a problem,I just see 2 comments about the same AI cars,and yeah,I never liked same AI cars in racing games.. blush.gif

So,I see one of your comment,talking about "how he wants the scripts,what cars,.."worever..

Well,I really need your help,to change the codes of this script,for make random AIs,cause I ever wanted a racing script like these one,but the same AI cars is the only problem,that i really want to change,dont matter if it can spawn bikes as AIs,or something,I really apreciate it! tounge2.gif

I think you say that is possible to make them random,so,please help me,please give me the right code,and where i must put it,I have SannyBuilder,but i cant found the right code for it..please friend,Im hope you can help me with this,i think you are the only one that can solve it,pls! sad.gif

About the version,can be the "simple san-andreas map. smile.gif

 

I will back here all day for see your answer! biggrin.gif

Sorry if im inconvenient,or something..Its just anxiety. blush.gif

 

icon14.gif Anyway,your scripts are very well done,I have a lot of them,and they are really good. icon14.gif

I wanna say you grats,and thanks a lot for these mods! Keep up the damn good work! biggrin.gificon14.gif

 

EDIT: Another simple questions,there is a way to increase the AIs difficult? and set the AIs pre-definied cars? and set how much AIs in an race? can add traffic?

 

Thanks! biggrin.gif

Edited by Sincronismo
Link to comment
Share on other sites

Is there any way to make a script to reload your weapon at keypress, but without making any animation? I managed to make a script that changes to fist, then back to the weapon you had in your hand orginally (by pressing R), but it's kinda slow and if you press it while aiming the weapon, it doesn't work well. Sorry for bothering you.

i don't know a code to do that

ok ZAZ, no problem

 

i have a question, is it possible to extend sniper rifle scope zoom?? the max zoom I mean.

Link to comment
Share on other sites

weapon.dat

It is not possible to change sniper max zoom in weapon.dat...only zoom of other weapons

 

anyways even if it is im looking in a way without changing weapon.dat

Link to comment
Share on other sites

Hello ZAZ,first of all,i must say you sorry for my bad english typing. tounge.gif

Ok,looking on web about cleo scripts,I fond this page:

 

http://www.gtaforums.com/index.php?showtopic=422014

 

And,sure,im impressed about this script,cause I ever wanted a great racing script for gta:sa,and these one is really great at all. wow.gif

But im got a problem,I just see 2 comments about the same AI cars,and yeah,I never liked same AI cars in racing games.. blush.gif

So,I see one of your comment,talking about "how he wants the scripts,what cars,.."worever..

Well,I really need your help,to change the codes of this script,for make random AIs,cause I ever wanted a racing script like these one,but the same AI cars is the only problem,that i really want to change,dont matter if it can spawn bikes as AIs,or something,I really apreciate it! tounge2.gif

I think you say that is possible to make them random,so,please help me,please give me the right code,and where i must put it,I have SannyBuilder,but i cant found the right code for it..please friend,Im hope you can help me with this,i think you are the only one that can solve it,pls! sad.gif

About the version,can be the "simple san-andreas map. smile.gif

 

I will back here all day for see your answer! biggrin.gif

Sorry if im inconvenient,or something..Its just anxiety. blush.gif

 

icon14.gif Anyway,your scripts are very well done,I have a lot of them,and they are really good. icon14.gif

I wanna say you grats,and thanks a lot for these mods! Keep up the damn good work! biggrin.gificon14.gif

 

EDIT: Another simple questions,there is a way to increase the AIs difficult? and set the AIs pre-definied cars? and set how much AIs in an race? can add traffic?

 

Thanks! biggrin.gif

I allready made a version (not published) which allows to customize the opponent cars.

Not everything is possible. My solution is to allow choosing one of 7 categories.

Have a look to the screenies

user posted image user posted image user posted image

 

It works fine so far unless for the races in stadium

Atm I'm busy with with my reallife and i think i can upload the new version in december

Link to comment
Share on other sites

I allready made a version (not published) which allows to customize the opponent cars.

Not everything is possible. My solution is to allow choosing one of 7 categories.

Have a look to the screenies

user posted image user posted image user posted image

 

It works fine so far unless for the races in stadium

Atm I'm busy with with my reallife and i think i can upload the new version in december

Friend,thats was SICK! yes, is exactly what Im talking about! Just perfect! wow.gif

No problem about the release,just keep it up man,it will make many people happy biggrin.gificon14.gif

Grats,and thanks a lot,you're the man! icon14.gif

Link to comment
Share on other sites

  • 2 weeks later...

YEAH That's wt i long for !!!!!!

 

ZAZ you are simply legend !!

 

From now on, we no longer need to race with the same AI car smile.gif

 

hope u optimize it and release it soon !! biggrin.gif

Link to comment
Share on other sites

First script blows up the nearest car of CJ. This can also be an allready wrecked car.

 

{$CLEO .cs}:GETNearCar_003A4: name_thread 'GETNCAR'[email protected] = -1:GETNearCar_110001: wait 0 ms 00D6: if 0256:   player $PLAYER_CHAR defined 004D: jump_if_false @GETNearCar_11 if0AB0:   key_pressed 8//-----------------------------press backspace 004D: jump_if_false @GETNearCar_110AB5: store_actor $PLAYER_ACTOR closest_vehicle_to [email protected] closest_ped_to [email protected]:  not [email protected] ==  -1  // integer values004D: jump_if_false @GETNearCar_11020B: explode_car [email protected] // versionA01C3: remove_references_to_car [email protected] [email protected] = -1jump @GETNearCar_11

 

 

Hey ZAZ; finally got round to testing this mod ..

 

Only problem I have with this one, is that if you are in a car, the nearest car to the player is the one that you are in tounge.gif And you instantly die if you press 'backspace' Can you fix this issue?

 

I guess just make a check to see if player is in a vehicle or not, and get the nearest vehicle to that vehicle?

Link to comment
Share on other sites

First script blows up the nearest car of CJ. This can also be an allready wrecked car.

 

{$CLEO .cs}:GETNearCar_003A4: name_thread 'GETNCAR'[email protected] = -1:GETNearCar_110001: wait 0 ms 00D6: if 0256:   player $PLAYER_CHAR defined 004D: jump_if_false @GETNearCar_11 if0AB0:   key_pressed 8//-----------------------------press backspace 004D: jump_if_false @GETNearCar_110AB5: store_actor $PLAYER_ACTOR closest_vehicle_to [email protected] closest_ped_to [email protected]:  not [email protected] ==  -1  // integer values004D: jump_if_false @GETNearCar_11020B: explode_car [email protected] // versionA01C3: remove_references_to_car [email protected] [email protected] = -1jump @GETNearCar_11

 

 

Hey ZAZ; finally got round to testing this mod ..

 

Only problem I have with this one, is that if you are in a car, the nearest car to the player is the one that you are in tounge.gif And you instantly die if you press 'backspace' Can you fix this issue?

 

I guess just make a check to see if player is in a vehicle or not, and get the nearest vehicle to that vehicle?

 

{$CLEO .cs}:GETNearCar_003A4: name_thread 'GETNCAR'[email protected] = -1:GETNearCar_110001: wait 0 ms00D6: if0256:   player $PLAYER_CHAR defined004D: jump_if_false @GETNearCar_11if80DF:  not actor $PLAYER_ACTOR driving 004D: jump_if_false @GETNearCar_12if0AB0:   key_pressed 8//-----------------------------press backspace004D: jump_if_false @GETNearCar_110AB5: store_actor $PLAYER_ACTOR closest_vehicle_to [email protected] closest_ped_to [email protected]:  not [email protected] ==  -1  // integer values004D: jump_if_false @GETNearCar_11020B: explode_car [email protected] // versionA01C3: remove_references_to_car [email protected] [email protected] = -1jump @GETNearCar_11:GETNearCar_1203C0: [email protected] = actor $PLAYER_ACTOR car :GETNearCar_130001: wait 0 ms00D6: if0256:   player $PLAYER_CHAR defined004D: jump_if_false @GETNearCar_13if00DF:  actor $PLAYER_ACTOR driving 004D: jump_if_false @GETNearCar_11if0AB0:   key_pressed 8//-----------------------------press backspace004D: jump_if_false @GETNearCar_130AB5: store_actor $PLAYER_ACTOR closest_vehicle_to [email protected] closest_ped_to [email protected]:  not [email protected] ==  -1  // integer values004D: jump_if_false @GETNearCar_13if803B:  not [email protected] == [email protected] // (int)004D: jump_if_false @GETNearCar_13020B: explode_car [email protected] // versionA01C3: remove_references_to_car [email protected] [email protected] = -1jump @GETNearCar_13

 

Link to comment
Share on other sites

Thanks for trying ZAZ. But now no car explodes when I'm in a car ..

 

I was just after the car that I was in, didn't explode; but still the nearest car to the player (other than the one he is driving) will explode on keypress.

Link to comment
Share on other sites

You might try to change 0AB5 $PLAYER_ACTOR param to last found nearest ped in 2nd check (@GETNearCar_13). If it doesn't help, try to mess with that CLEO4 "get_random_car" opcode.

Link to comment
Share on other sites

Yeah, that last one doesn't work for me either confused.gif But the first one did; but just exploded my car if player was driving.

Link to comment
Share on other sites

 

Thanks for trying ZAZ. But now no car explodes when I'm in a car ..

Yes, i know biggrin.gif

get_random_car scripts are more complicate and dificult to understand for non-coders

 

i will explain:

as you can see, the opcode 0AB5: can only do the job if CJ doesn't drive any vehicle

 

another way would be a cleo4 opcode as SilentPL mentoined

but let's stay at cleo3

 

so another opcode can be

053E: [email protected] = get_random_car_with_actors -1 in_area [email protected] [email protected] [email protected] [email protected]

with this, in praxis, it happens that the game often get the same car again , also if it is wrecked

the only way to fix would be to remove the wrecked car complete from game, which means thet the wrecked cars diappear imediately

 

 

one more method is a strange method to get every ped or actor and check if he drives a vehicle

so it can only get cars with driver

 

you must decide:

cleo4 code

or

wrecked cars diappear imediately

or

only get cars with driver

 

I made a script by method 3, only get cars with driver

 

{$CLEO .cs}:BLOW_UP_NEAREST_CAR03A4: name_thread 'NCAREXP' :NCAREXP_110001: wait 0 ms 00D6: if 0256:   player $PLAYER_CHAR defined 004D: jump_if_false @NCAREXP_11 00D6: if 0AB0:   key_pressed 8//-----------------------------press backspace //0AB0:   key_pressed 66//  b key  004D: jump_if_false @NCAREXP_11 0006: [email protected] = -1 0006: [email protected] = -1 0006: [email protected] = -1 0006: [email protected] = -1 0006: [email protected] = -1 0006: [email protected] = -1 0006: [email protected] = -1 0006: [email protected] = -1 0006: [email protected] = -1 0006: [email protected] = -1 0006: [email protected] = -1 0006: [email protected] = -1 0006: [email protected] = -1 0006: [email protected] = -1 0006: [email protected] = -1 0006: [email protected] = -1 0006: [email protected] = -1 0006: [email protected] = -1 0006: [email protected] = -1 0006: [email protected] = -1 0006: [email protected] = -1 0006: [email protected] = -1 0006: [email protected] = -1 0006: [email protected] = -1 0006: [email protected] = 0 0050: gosub @NCAREXP_275 00D6: if 0039:   [email protected] == -1 004D: jump_if_false @NCAREXP_257 0001: wait 0 ms 0050: gosub @NCAREXP_558 :NCAREXP_2570001: wait 0 ms 0050: gosub @NCAREXP_1364 0002: jump @NCAREXP_11 :NCAREXP_2750006: [email protected] = 0 0006: [email protected] = 0 :NCAREXP_2890085: [email protected] = [email protected] // (int) 0006: [email protected] = 0 :NCAREXP_30400D6: if and056D:   actor [email protected] defined 803C:   not  $PLAYER_ACTOR == [email protected] // (int) 004D: jump_if_false @NCAREXP_485 0085: [email protected]([email protected],32i) = [email protected] // (int) 00D6: if 8118:   not actor [email protected] dead 004D: jump_if_false @NCAREXP_471 00D6: if 00DF:   actor [email protected] driving 004D: jump_if_false @NCAREXP_471 00A0: store_actor [email protected] position_to [email protected] [email protected] [email protected] 00D6: if 00FE:   actor $PLAYER_ACTOR sphere 0 in_sphere [email protected] [email protected] [email protected] radius 12.0 12.0 12.0 004D: jump_if_false @NCAREXP_471 03C0: [email protected] = actor [email protected] car 00D6: if 8119:   not car [email protected] wrecked 004D: jump_if_false @NCAREXP_471 020B: explode_car [email protected] // versionA 0085: [email protected] = [email protected] // (int) 0051: return :NCAREXP_471000A: [email protected] += 1 0002: jump @NCAREXP_513 :NCAREXP_485000A: [email protected] += 1 000A: [email protected] += 1 0019:   [email protected] > 127 004D: jump_if_false @NCAREXP_304 :NCAREXP_513000A: [email protected] += 256 00D6: if or0019:   [email protected] > 21 0019:   [email protected] > 35584 004D: jump_if_false @NCAREXP_289 0006: [email protected] = 21 0051: return :NCAREXP_5580006: [email protected] = 0 :NCAREXP_5650001: wait 0 ms 00D6: if 001D:   [email protected] > [email protected] // (int) 004D: jump_if_false @NCAREXP_759 00D6: if 8039:   not  [email protected]([email protected],32i) == -1 004D: jump_if_false @NCAREXP_745 00D6: if 8118:   not actor [email protected]([email protected],32i) dead 004D: jump_if_false @NCAREXP_745 00D6: if 00DF:   actor [email protected]([email protected],32i) driving 004D: jump_if_false @NCAREXP_745 00A0: store_actor [email protected]([email protected],32i) position_to [email protected] [email protected] [email protected] 00D6: if 00FE:   actor $PLAYER_ACTOR sphere 0 in_sphere [email protected] [email protected] [email protected] radius 24.0 24.0 24.0 004D: jump_if_false @NCAREXP_745 03C0: [email protected] = actor [email protected]([email protected],32i) car 00D6: if 8119:   not car [email protected] wrecked 004D: jump_if_false @NCAREXP_745 020B: explode_car [email protected] // versionA 0051: return :NCAREXP_745000A: [email protected] += 1 0002: jump @NCAREXP_565 :NCAREXP_7590006: [email protected] = 0 :NCAREXP_7660001: wait 0 ms 00D6: if 001D:   [email protected] > [email protected] // (int) 004D: jump_if_false @NCAREXP_960 00D6: if 8039:   not  [email protected]([email protected],32i) == -1 004D: jump_if_false @NCAREXP_946 00D6: if 8118:   not actor [email protected]([email protected],32i) dead 004D: jump_if_false @NCAREXP_946 00D6: if 00DF:   actor [email protected]([email protected],32i) driving 004D: jump_if_false @NCAREXP_946 00A0: store_actor [email protected]([email protected],32i) position_to [email protected] [email protected] [email protected] 00D6: if 00FE:   actor $PLAYER_ACTOR sphere 0 in_sphere [email protected] [email protected] [email protected] radius 36.0 36.0 36.0 004D: jump_if_false @NCAREXP_946 03C0: [email protected] = actor [email protected]([email protected],32i) car 00D6: if 8119:   not car [email protected] wrecked 004D: jump_if_false @NCAREXP_946 020B: explode_car [email protected] // versionA 0051: return :NCAREXP_946000A: [email protected] += 1 0002: jump @NCAREXP_766 :NCAREXP_9600006: [email protected] = 0 :NCAREXP_9670001: wait 0 ms 00D6: if 001D:   [email protected] > [email protected] // (int) 004D: jump_if_false @NCAREXP_1161 00D6: if 8039:   not  [email protected]([email protected],32i) == -1 004D: jump_if_false @NCAREXP_1147 00D6: if 8118:   not actor [email protected]([email protected],32i) dead 004D: jump_if_false @NCAREXP_1147 00D6: if 00DF:   actor [email protected]([email protected],32i) driving 004D: jump_if_false @NCAREXP_1147 00A0: store_actor [email protected]([email protected],32i) position_to [email protected] [email protected] [email protected] 00D6: if 00FE:   actor $PLAYER_ACTOR sphere 0 in_sphere [email protected] [email protected] [email protected] radius 50.0 50.0 50.0 004D: jump_if_false @NCAREXP_1147 03C0: [email protected] = actor [email protected]([email protected],32i) car 00D6: if 8119:   not car [email protected] wrecked 004D: jump_if_false @NCAREXP_1147 020B: explode_car [email protected] // versionA 0051: return :NCAREXP_1147000A: [email protected] += 1 0002: jump @NCAREXP_967 :NCAREXP_11610006: [email protected] = 0 :NCAREXP_11680001: wait 0 ms 00D6: if 001D:   [email protected] > [email protected] // (int) 004D: jump_if_false @NCAREXP_1362 00D6: if 8039:   not  [email protected]([email protected],32i) == -1 004D: jump_if_false @NCAREXP_1348 00D6: if 8118:   not actor [email protected]([email protected],32i) dead 004D: jump_if_false @NCAREXP_1348 00D6: if 00DF:   actor [email protected]([email protected],32i) driving 004D: jump_if_false @NCAREXP_1348 00A0: store_actor [email protected]([email protected],32i) position_to [email protected] [email protected] [email protected] 00D6: if 00FE:   actor $PLAYER_ACTOR sphere 0 in_sphere [email protected] [email protected] [email protected] radius 70.0 70.0 70.0 004D: jump_if_false @NCAREXP_1348 03C0: [email protected] = actor [email protected]([email protected],32i) car 00D6: if 8119:   not car [email protected] wrecked 004D: jump_if_false @NCAREXP_1348 020B: explode_car [email protected] // versionA 0051: return :NCAREXP_1348000A: [email protected] += 1 0002: jump @NCAREXP_1168 :NCAREXP_13620051: return :NCAREXP_13640006: [email protected] = 0 :NCAREXP_13710001: wait 0 ms 00D6: if 001D:   [email protected] > [email protected] // (int) 004D: jump_if_false @NCAREXP_1439 00D6: if 8039:   not  [email protected]([email protected],32i) == -1 004D: jump_if_false @NCAREXP_1425 01C2: remove_references_to_actor [email protected]([email protected],32i) // Like turning an actor into a random pedestrian :NCAREXP_1425000A: [email protected] += 1 0002: jump @NCAREXP_1371 :NCAREXP_14390051: return 

 

 

 

 

You might try to change 0AB5 $PLAYER_ACTOR param to last found nearest ped in 2nd check (@GETNearCar_13). If it doesn't help, try to mess with that CLEO4 "get_random_car" opcode.

i tried cleo4 opcode, took the script from previous post and replaced 0AB5: with

00A0: store_actor $PLAYER_ACTOR position_to [email protected] [email protected] [email protected]

0AE2: [email protected] = random_vehicle_near_point [email protected] [email protected] [email protected] in_radius 12.0 find_next 0 0// - cleo 4 -

it worked but let wrecked cars explode

so i changed last param to 1

0AE2: [email protected] = random_vehicle_near_point [email protected] [email protected] [email protected] in_radius 12.0 find_next 0 1// - cleo 4 -

it worked for 2 trails then it crashed

Link to comment
Share on other sites

Try this then (untested):

 

 

{$CLEO}0000: GETNEARCARwhile true   0001: wait 0 ms   if       0AB0:   key_pressed 8       // Backspace   then       if           80DF:  not actor $PLAYER_ACTOR driving        then           0AB5: store_actor $PLAYER_ACTOR closest_vehicle_to [email protected] closest_ped_to [email protected]           if               0019:   [email protected] > 0           then               020B: explode_car [email protected]               01C3: remove_references_to_car [email protected]               end       else           03C0: [email protected] = actor $PLAYER_ACTOR car           00AA: store_car [email protected] position_to [email protected] [email protected] [email protected]           if               0AE2: [email protected] = random_vehicle_near_point [email protected] [email protected] [email protected] in_radius 50.0 find_next 0 pass_wrecked 1           then               0006: [email protected] = 0                              while 003B:   [email protected] == [email protected]                   if                       8AE2: not [email protected] = random_vehicle_near_point [email protected] [email protected] [email protected] in_radius 50.0 find_next 1 pass_wrecked 1                   then                       0006: [email protected] = 1                       break                   end               end                              if                   0039:   [email protected] == 0               then                   020B: explode_car [email protected]                   01C3: remove_references_to_car [email protected]               end           end       end                     while 0AB0:   key_pressed 8       // Backspace           0001: wait 0 ms       end   endend

 

 

Note that it might not catch the nearest car, but it's the only way to do that without some advanced maths (comparing distances etc. etc.).

 

 

Link to comment
Share on other sites

Haha, never ignored. Just didn't get around to testing. Been busy packing up the house last few days, moving @ the weekend.

 

Last thing to pack will be the computer lol happy.gif

 

Will test out yours, and SilentPL's scripts soon icon14.gif

 

EDIT:

Sorry; had no time to test, and won't be able to till the 14th till my new house gets the internet.

Edited by methodunderg
Link to comment
Share on other sites

  • 1 month later...

these mod for cleo in fact plz dont get angry is sux there is awesome mod in gtagarage and gtagamming and gtainside

Link to comment
Share on other sites

GTFO of here ..

 

ZAZ is one of the 'masters' of CLEO scripting ..

 

 

user posted image
Link to comment
Share on other sites

  • 2 weeks later...

Back from hollidays,

Happy New Year methodunderg and SilentPL and to all the others who know my mods

I don't know what gtaXbat means but it doesn't look important

Last month i published 3 map mods , look in map showroom

current cleo projects are the NRace scripts and a plane traffic mod

 

Link to comment
Share on other sites

Happy New Year to you to bro ! icon14.gif

 

Hope you had a good Christmas, NY's and holidays. icon14.gificon14.gif

Link to comment
Share on other sites

Hi ZAZ, could you please help me on a simple one?

 

I need these cars (Packer, Towtruck) to always spawn at this location:

user posted image

 

and a Green Sabre in this location but just after you complete "End of the Line":

user posted image

 

thanks in advance!

Link to comment
Share on other sites

You could at least provide him with the exact co-ordinates instead of images icon14.gif

Link to comment
Share on other sites

You could at least provide him with the exact co-ordinates instead of images icon14.gif

thanks for the suggestion.

 

Packer:

 

X: -2052.32690429688

Y: 139.712463378906

Z: 29.4703559875488

Angle: 180.246

 

Towtruck:

 

X: -2046.955078125

Y: 145.967071533203

Z: 28.7182884216309

Angle: 179.484

 

Green Sabre:

 

X: 2491.22485351563

Y: -1682.78308105469

Z: 13.075798034668

Angle: 89.467

Link to comment
Share on other sites

take that script below, JoWie

are you able to compile it yourself with sannybuilder?

 

{$CLEO .cs}:Paked_Car_generator_for_JoWie03A4: name_thread 'PACR':Paked_Car_10001: wait  0 ms00D6: if 0018:   $RIOT_TOTAL_PASSED_MISSIONS > 4004D: jump_if_false @Paked_Car_10A95: enable_thread_saving014B: [email protected] = init_parked_car_generator #TOWTRUCK -1 -1  1 alarm  0 door_lock  0  0  10000 at  -2047.5 144.967 28.8 angle  179.484014C: set_parked_car_generator [email protected] cars_to_generate_to 101014B: [email protected] = init_parked_car_generator #PACKER -1 -1  1 alarm  0 door_lock  0  0  10000 at  -2057.32 137.71 29.5 angle  180.246 014C: set_parked_car_generator [email protected] cars_to_generate_to 101014B: [email protected] = init_parked_car_generator #SABRE 86 6  1 alarm  0 door_lock  0  0  10000 at  2491.224 -1682.78 13.1 angle  89.467014C: set_parked_car_generator [email protected] cars_to_generate_to 1010A93: end_custom_thread

 

note: TOWTRUCK and PACKER don't appear together at same time

it's a random decinding of the engine to spawn either towtruck or packer

Link to comment
Share on other sites

current cleo projects are the NRace scripts and a plane traffic mod

Told ya he was a fricken genius ! inlove.gif

 

I would like some more information on your new projex ZAZ xD icon14.gif

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.