Quantcast

Jump to content

» «
Photo

Can you help me create a undercover cops?

4 replies to this topic
Fenton
  • Fenton

    Facade's Ponytail Resident

  • Facade Corporation
  • 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

  • Feroci
  • Joined: 10 Jan 2005
  • European-Union
  • Contribution Award [Mods]
    Helpfulness Awards [Mods]

#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"

Fenton
  • Fenton

    Facade's Ponytail Resident

  • Facade Corporation
  • 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: [email protected] = random_int_in_ranges 0 86
if
[email protected] == 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 [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset 50.0 -20.0 8.0
02C1: store_to [email protected] [email protected] [email protected] car_path_coords_closest_to [email protected] [email protected] [email protected]
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset 6.0 0.0 0.0
[email protected] = Car.Create(#PREMIER, [email protected], [email protected], [email protected])
0209: $CARCOLOR = random_int_in_ranges 0 5
0229: set_car [email protected] primary_color_to 0 secondary_color_to 0
[email protected] = Actor.CreateAsDriver(Cop, #BMYMIB, [email protected])
Actor.Health([email protected]) = 100
Actor.GiveWeaponAndAmmo([email protected], Tec9, 9999)
Actor.Angle([email protected]) = 180.0
060B: set_actor [email protected] decision_maker_to 3
Car.SetImmunities([email protected], 0, 0, 0, 1, 0)
Actor.WeaponAccuracy([email protected]) = 75
0946: set_actor [email protected] actions_uninterupted_by_weapon_fire 1
07DD: set_actor [email protected] temper_to 100 // see pedstats.dat
[email protected] = Actor.CreateAsPassenger(Cop, #WMOMIB, [email protected], 0)
Actor.Health([email protected]) = 100
Actor.GiveWeaponAndAmmo([email protected], Tec9, 9999)
Actor.Angle([email protected]) = 180.0
060B: set_actor [email protected] decision_maker_to 3
Actor.WeaponAccuracy([email protected]) = 67
0946: set_actor [email protected] actions_uninterupted_by_weapon_fire 1
07DD: set_actor [email protected] temper_to 80 // see pedstats.dat
Car.SetDriverBehaviour([email protected], 5)
Car.SetMaxSpeed([email protected], 60.0)
Car.Health([email protected]) = 2500
wait 300
jump @NONAME_393

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

:NONAME_505
0713: actor [email protected] 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 [email protected] radius 97.0 97.0 45.0
else_jump @NONAME_585
Actor.RemoveReferences([email protected])
Actor.RemoveReferences([email protected])

:NONAME_585
if and
†  Actor.Dead([email protected])
82E0:†  not actor [email protected] aggressive
else_jump @NONAME_626
05CD: AS_actor [email protected] exit_car [email protected]
06E4: AS_actor [email protected]([email protected],9i) attempt_to_bust_actor $PLAYER_ACTOR

:NONAME_626
if and
†  Actor.Dead([email protected])
82E0:†  not actor [email protected] aggressive
else_jump @NONAME_667
05CD: AS_actor [email protected] exit_car [email protected]
06E4: AS_actor [email protected]([email protected],9i) attempt_to_bust_actor $PLAYER_ACTOR

:NONAME_667
if
†  Actor.Dead([email protected])
else_jump @NONAME_688
Actor.RemoveReferences([email protected])

:NONAME_688
if
†  Actor.Dead([email protected])
else_jump @NONAME_709
Actor.RemoveReferences([email protected])

:NONAME_709
if and
†  Actor.Dead([email protected])
†  Actor.Dead([email protected])
else_jump @NONAME_742
Car.RemoveReferences([email protected])
jump @NONAME_9

:NONAME_742
if
†  Car.Wrecked([email protected])
else_jump @NONAME_763
Car.RemoveReferences([email protected])

:NONAME_763
if
†  Actor.Dead($PLAYER_ACTOR)
else_jump @NONAME_814
Actor.RemoveReferences([email protected])
Actor.RemoveReferences([email protected])
Car.RemoveReferences([email protected])
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

Fenton
  • Fenton

    Facade's Ponytail Resident

  • Facade Corporation
  • 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