Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. The Criminal Enterprises
      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

*DO NOT* SHARE MEDIA OR LINKS TO LEAKED COPYRIGHTED MATERIAL. Discussion is allowed.

How to Add Decision Maker in CLEO Script


Johnson047
 Share

Recommended Posts

I created a bodyguard mod, and i want to add decision maker to this bodyguard, can someone help me to add decision maker to this bodyguard ???

 

This is a My Bodyguard Mod Script :

 

{$CLEO .cs}
//-------------MAIN---------------
0000: NOP
0000: NOP
:NONAME_0
0001: wait 0 ms
00D6: if
0ADC: test_cheat "JB7"
004D: jump_if_false @NONAME_0
0002: jump @NONAME_1
:NONAME_1
0001: wait 0 ms
0247: load_model 351
0247: load_model 163
0247: load_model 362
0247: load_model 356
0247: load_model 352
0247: load_model 348
0247: load_model 353
0247: load_model 358
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset 0.0 4.0 0.0
038B: load_requested_models
07AF: $PLAYER_GROUP = player $PLAYER_CHAR group
0631: put_actor [email protected] in_group $PLAYER_GROUP
Actor.Health([email protected]) = 2500
02AB: set_actor [email protected] immunities BP 1 FP 1 EP 1 CP 1 MP 1
07DD: set_actor [email protected] attack_rate 100 // previously known as temper_to
01B2: give_actor [email protected] weapon 24 ammo 9999
081A: set_actor [email protected] weapon_skill_to 2
0001: wait 800 ms
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset 0.0 4.0 0.0
038B: load_requested_models
07AF: $PLAYER_GROUP = player $PLAYER_CHAR group
0631: put_actor [email protected] in_group $PLAYER_GROUP
Actor.Health([email protected]) = 2500
02AB: set_actor [email protected] immunities BP 1 FP 1 EP 1 CP 1 MP 1
07DD: set_actor [email protected] attack_rate 100 // previously known as temper_to
01B2: give_actor [email protected] weapon 27 ammo 9999
081A: set_actor [email protected] weapon_skill_to 2
0001: wait 800 ms
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset 0.0 4.0 0.0
038B: load_requested_models
07AF: $PLAYER_GROUP = player $PLAYER_CHAR group
0631: put_actor [email protected] in_group $PLAYER_GROUP
Actor.Health([email protected]) = 2500
02AB: set_actor [email protected] immunities BP 1 FP 1 EP 1 CP 1 MP 1
07DD: set_actor [email protected] attack_rate 100 // previously known as temper_to
01B2: give_actor [email protected] weapon 28 ammo 9999
081A: set_actor [email protected] weapon_skill_to 1
0001: wait 800 ms
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset 0.0 4.0 0.0
038B: load_requested_models
07AF: $PLAYER_GROUP = player $PLAYER_CHAR group
0631: put_actor [email protected] in_group $PLAYER_GROUP
Actor.Health([email protected]) = 2500
02AB: set_actor [email protected] immunities BP 1 FP 1 EP 1 CP 1 MP 1
07DD: set_actor [email protected] attack_rate 100 // previously known as temper_to
01B2: give_actor [email protected] weapon 29 ammo 9999
081A: set_actor [email protected] weapon_skill_to 2
0001: wait 800 ms
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset 0.0 4.0 0.0
038B: load_requested_models
07AF: $PLAYER_GROUP = player $PLAYER_CHAR group
0631: put_actor [email protected] in_group $PLAYER_GROUP
Actor.Health([email protected]) = 2500
02AB: set_actor [email protected] immunities BP 1 FP 1 EP 1 CP 1 MP 1
07DD: set_actor [email protected] attack_rate 100 // previously known as temper_to
01B2: give_actor [email protected] weapon 31 ammo 9999
081A: set_actor [email protected] weapon_skill_to 2
0001: wait 800 ms
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset 0.0 4.0 0.0
038B: load_requested_models
07AF: $PLAYER_GROUP = player $PLAYER_CHAR group
0631: put_actor [email protected] in_group $PLAYER_GROUP
Actor.Health([email protected]) = 2500
02AB: set_actor [email protected] immunities BP 1 FP 1 EP 1 CP 1 MP 1
07DD: set_actor [email protected] attack_rate 100 // previously known as temper_to
01B2: give_actor [email protected] weapon 34 ammo 9999
0001: wait 800 ms
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset 0.0 4.0 0.0
038B: load_requested_models
07AF: $PLAYER_GROUP = player $PLAYER_CHAR group
0631: put_actor [email protected] in_group $PLAYER_GROUP
Actor.Health([email protected]) = 2500
02AB: set_actor [email protected] immunities BP 1 FP 1 EP 1 CP 1 MP 1
07DD: set_actor [email protected] attack_rate 100 // previously known as temper_to
01B2: give_actor [email protected] weapon 38 ammo 9999
0001: wait 500 ms
00BB: show_text_lowpriority GXT 'JOHNSON047' time 4000 flag 1
00BB: show_text_lowpriority GXT 'COPYRIGHT' time 3000 flag 2
00BB: show_text_lowpriority GXT 'WARNING' time 3000 flag 3
0002: jump @NONAME_2
:NONAME_2
0001: wait 0 ms
00D6: if and
8104: not actor $PLAYER_ACTOR near_actor [email protected] radius 70.0 70.0 20.0 sphere 0
8104: not actor $PLAYER_ACTOR near_actor [email protected] radius 70.0 70.0 20.0 sphere 0
8104: not actor $PLAYER_ACTOR near_actor [email protected] radius 70.0 70.0 20.0 sphere 0
8104: not actor $PLAYER_ACTOR near_actor [email protected] radius 70.0 70.0 20.0 sphere 0
8104: not actor $PLAYER_ACTOR near_actor [email protected] radius 70.0 70.0 20.0 sphere 0
8104: not actor $PLAYER_ACTOR near_actor [email protected] radius 70.0 70.0 20.0 sphere 0
8104: not actor $PLAYER_ACTOR near_actor [email protected] radius 70.0 70.0 20.0 sphere 0
004D: jump_if_false @NONAME_3
01C2: remove_references_to_actor [email protected]
01C2: remove_references_to_actor [email protected]
01C2: remove_references_to_actor [email protected]
01C2: remove_references_to_actor [email protected]
01C2: remove_references_to_actor [email protected]
01C2: remove_references_to_actor [email protected]
01C2: remove_references_to_actor [email protected]
009B: destroy_actor [email protected]
009B: destroy_actor [email protected]
009B: destroy_actor [email protected]
009B: destroy_actor [email protected]
009B: destroy_actor [email protected]
009B: destroy_actor [email protected]
009B: destroy_actor [email protected]
00BA: show_text_styled GXT 'JB01' time 3000 style 4
0002: jump @NONAME_0
:NONAME_3
0001: wait 0 ms
00D6: if and
0104: actor $PLAYER_ACTOR near_actor [email protected] radius 70.0 70.0 20.0 sphere 0
0104: actor $PLAYER_ACTOR near_actor [email protected] radius 70.0 70.0 20.0 sphere 0
0104: actor $PLAYER_ACTOR near_actor [email protected] radius 70.0 70.0 20.0 sphere 0
0104: actor $PLAYER_ACTOR near_actor [email protected] radius 70.0 70.0 20.0 sphere 0
0104: actor $PLAYER_ACTOR near_actor [email protected] radius 70.0 70.0 20.0 sphere 0
0104: actor $PLAYER_ACTOR near_actor [email protected] radius 70.0 70.0 20.0 sphere 0
0104: actor $PLAYER_ACTOR near_actor [email protected] radius 70.0 70.0 20.0 sphere 0
004D: jump_if_false @NONAME_2
0ADC: test_cheat "JB7"
004D: jump_if_false @NONAME_3
0002: jump @NONAME_4
:NONAME_4
0001: wait 500 ms
009B: destroy_actor [email protected]
009B: destroy_actor [email protected]
009B: destroy_actor [email protected]
009B: destroy_actor [email protected]
009B: destroy_actor [email protected]
009B: destroy_actor [email protected]
009B: destroy_actor [email protected]
0001: wait 700 ms
0002: jump @NONAME_0
This is a Decision Maker i want :
  1. Decision Maker work with $PLAYER_GROUP
  2. If Bodyguard Vehicle attacked with weapon, Then this Bodyguard will kill this ped in vehicle.
  3. If Bodyguard dragged out of vehicle by the ped, Then this Bodyguard will kill this ped.
  4. If Bodyguard seen a another ped he hates. Then this Bodyguard will kill the ped on foot / on vehicle if he hates him

Sorry if my english is bad. So, Thanks.

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.