Quantcast

Jump to content

» «
Photo

Can you help me create a undercover cops?

4 replies to this topic
ALAN41
  • ALAN41

    Clown Hater

  • Members
  • Joined: 18 Nov 2012
  • Indonesia

#1

Posted 15 August 2013 - 05:30 AM

Can you help me create undercover cops cleo mods?
-not ''MephiticCorpse's Mods''
-Without any crash
-165 and 166 skin id
-Premier car
-Tec9 Weapon
-Spawn at Wanted level 3
- And Stop Chase when No Wanted Level

ZAZ
  • ZAZ

    Kernlochbohrer

  • Members
  • Joined: 10 Jan 2005
  • European-Union

#2

Posted 15 August 2013 - 07:30 AM

Do you have any coding experience? if yes then post your script, if not then please read
Cleo Script Tutorial as well as the pinned topic "III Coding Directory"

ALAN41
  • ALAN41

    Clown Hater

  • Members
  • Joined: 18 Nov 2012
  • Indonesia

#3

Posted 15 August 2013 - 07:53 AM Edited by ALAN41, 17 August 2013 - 08:54 AM.

No, I'm not sad.gif

EDIT :
CODE
// This file was decompiled using sascm.ini published by Seemann (http://sannybuilder.com/files/SASCM.rar) on 13.10.2007

{$VERSION 3.1.0027}
{$CLEO .cs}

//-------------MAIN---------------
0000: NOP
jump @NONAME_9

:NONAME_9
wait 50
0209: 1@ = random_int_in_ranges 0 86
if
  1@ == 5
else_jump @NONAME_9
if
   Player.WantedLevel($PLAYER_CHAR) > 2
else_jump @NONAME_9
wait 2000
Model.Load(#TEC9)
Model.Load(#PREMIER)
Model.Load(#WMOMIB)
Model.Load(#BMYMIB)
if
Model.Available(#TEC9)
Model.Available(#PREMIER)
Model.Available(#WMOMIB)
Model.Available(#BMYMIB)
038B: load_requested_models
wait 500
04C4: store_coords_to 1@ 2@ 3@ from_actor $PLAYER_ACTOR with_offset 50.0 -20.0 8.0
02C1: store_to 1@ 2@ 3@ car_path_coords_closest_to 1@ 2@ 3@
04C4: store_coords_to 14@ 15@ 16@ from_actor $PLAYER_ACTOR with_offset 6.0 0.0 0.0
1@ = Car.Create(#PREMIER, 1@, 2@, 3@)
0209: $CARCOLOR = random_int_in_ranges 0 5
0229: set_car 1@ primary_color_to 0 secondary_color_to 0
0@ = Actor.CreateAsDriver(Cop, #BMYMIB, 1@)
Actor.Health(0@) = 100
Actor.GiveWeaponAndAmmo(0@, Tec9, 9999)
Actor.Angle(0@) = 180.0
060B: set_actor 0@ decision_maker_to 3
Car.SetImmunities(1@, 0, 0, 0, 1, 0)
Actor.WeaponAccuracy(0@) = 75
0946: set_actor 0@ actions_uninterupted_by_weapon_fire 1
07DD: set_actor 0@ temper_to 100 // see pedstats.dat
2@ = Actor.CreateAsPassenger(Cop, #WMOMIB, 1@, 0)
Actor.Health(2@) = 100
Actor.GiveWeaponAndAmmo(2@, Tec9, 9999)
Actor.Angle(2@) = 180.0
060B: set_actor 2@ decision_maker_to 3
Actor.WeaponAccuracy(2@) = 67
0946: set_actor 2@ actions_uninterupted_by_weapon_fire 1
07DD: set_actor 2@ temper_to 80 // see pedstats.dat
Car.SetDriverBehaviour(1@, 5)
Car.SetMaxSpeed(1@, 60.0)
Car.Health(1@) = 2500
wait 300
jump @NONAME_393

:NONAME_393
wait 50
if and
00F2:   actor $PLAYER_ACTOR near_actor 2@ radius 60.0 60.0 0
   not Actor.Dead(2@)
   not Car.Wrecked(1@)
else_jump @NONAME_541
if
   not Player.WantedLevel($PLAYER_CHAR) > 2
else_jump @NONAME_505
0687: clear_actor 2@ task
0687: clear_actor 0@ task
Car.SetDriverBehaviour(1@, 5)
Car.SetMaxSpeed(1@, 21.0)
Car.RemoveReferences(1@)
Actor.RemoveReferences(2@)
Actor.RemoveReferences(0@)
jump @NONAME_9

:NONAME_505
0713: actor 2@ driveby_actor $PLAYER_ACTOR car -1 point 0.0 0.0 0.0 radius 90000.0 4 1 firing_rate 70

:NONAME_541
if
80F2:   not actor $PLAYER_ACTOR near_actor 2@ radius 97.0 97.0 45.0
else_jump @NONAME_585
Actor.RemoveReferences(2@)
Actor.RemoveReferences(0@)

:NONAME_585
if and
   Actor.Dead(2@)
82E0:   not actor 0@ aggressive
else_jump @NONAME_626
05CD: AS_actor 0@ exit_car 1@
06E4: AS_actor 0@(29@,9i) attempt_to_bust_actor $PLAYER_ACTOR

:NONAME_626
if and
   Actor.Dead(0@)
82E0:   not actor 2@ aggressive
else_jump @NONAME_667
05CD: AS_actor 2@ exit_car 1@
06E4: AS_actor 2@(29@,9i) attempt_to_bust_actor $PLAYER_ACTOR

:NONAME_667
if
   Actor.Dead(2@)
else_jump @NONAME_688
Actor.RemoveReferences(2@)

:NONAME_688
if
   Actor.Dead(0@)
else_jump @NONAME_709
Actor.RemoveReferences(0@)

:NONAME_709
if and
   Actor.Dead(2@)
   Actor.Dead(0@)
else_jump @NONAME_742
Car.RemoveReferences(1@)
jump @NONAME_9

:NONAME_742
if
   Car.Wrecked(1@)
else_jump @NONAME_763
Car.RemoveReferences(1@)

:NONAME_763
if
   Actor.Dead($PLAYER_ACTOR)
else_jump @NONAME_814
Actor.RemoveReferences(2@)
Actor.RemoveReferences(0@)
Car.RemoveReferences(1@)
Model.Destroy(#TEC9)
Model.Destroy(#PREMIER)
Model.Destroy(#WMOMIB)
Model.Destroy(#BMYMIB)

:NONAME_814
wait 200
jump @NONAME_393

I found it from gtagarage and edit it, But one problem, 1 of the cops is not died and crashing

ALAN41
  • ALAN41

    Clown Hater

  • Members
  • Joined: 18 Nov 2012
  • Indonesia

#4

Posted 17 August 2013 - 08:53 AM

This topic bumped in 2 day , please help me

cst1992
  • cst1992

    Spam Hater

  • Members
  • Joined: 27 Dec 2012

#5

Posted 04 September 2013 - 01:10 PM

post requests in the requests thread




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users