Diegoti Posted May 2, 2018 Share Posted May 2, 2018 Hello, i was trying to do this be my self but i cant. script 1 // This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013{$CLEO .cs}//-------------MAIN---------------0000: NOP wait 0 :[email protected] = Player.WantedLevel($PLAYER_CHAR)wait 1000 077E: get_active_interior_to [email protected] if and [email protected] == 5 [email protected] == 0 else_jump @NONAME_6 Model.Load(#SWATVAN)Model.Load(#MP5LNG)Model.Load(#FBI)038B: load_requested_models :NONAME_66wait 300 if and Model.Available(#SWATVAN) Model.Available(#MP5LNG) Model.Available(#FBI)else_jump @NONAME_66 wait 0 0209: [email protected] = random_int_in_ranges 50.0 100.0 0209: [email protected] = random_int_in_ranges 50.0 100.0 04C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset [email protected] [email protected] 1.0 02C1: store_to [email protected] [email protected] [email protected] car_path_coords_closest_to [email protected] [email protected] [email protected] [email protected] = Car.Create(#SWATVAN, [email protected], [email protected], [email protected])[email protected] = Actor.CreateAsDriver(Cop, #FBI, [email protected])[email protected] = Actor.CreateAsPassenger(Cop, #FBI, [email protected], 0)Actor.Health([email protected]) = 500Actor.Health([email protected]) = 500Actor.WeaponAccuracy([email protected]) = 75Actor.WeaponAccuracy([email protected]) = 75Actor.GiveWeaponAndAmmo([email protected], MP5, 99999)Actor.GiveWeaponAndAmmo([email protected], MP5, 99999)0423: set_car [email protected] improved_handling_to 2.0 // (float) Car.SetMaxSpeed([email protected], 50.0)Car.SetDriverBehaviour([email protected], DriveToPlayer)00AE: set_car [email protected] traffic_behaviour_to 2 Model.Destroy(#SWATVAN)Model.Destroy(#FBI)Model.Destroy(#MP5LNG)if Actor.Driving($PLAYER_ACTOR)else_jump @NONAME_439 [email protected] = Actor.CurrentCar($PLAYER_ACTOR)Actor.SetCarWeapon([email protected], 29, 200000):NONAME_360wait 0 if 0205: actor $PLAYER_ACTOR near_car [email protected] radius 300.0 300.0 150.0 flag 0 else_jump @NONAME_857 if not Car.Wrecked([email protected])else_jump @NONAME_857 if not Actor.Dead([email protected])else_jump @NONAME_609 jump @NONAME_439 :NONAME_439wait 0 if and not Actor.Driving($PLAYER_ACTOR)0205: actor $PLAYER_ACTOR near_car [email protected] radius 15.0 15.0 150.0 flag 0 else_jump @NONAME_360 0633: AS_actor [email protected] exit_car 0633: AS_actor [email protected] exit_car 05E2: AS_actor [email protected] kill_actor $PLAYER_ACTOR 05E2: AS_actor [email protected] kill_actor $PLAYER_ACTOR jump @NONAME_707 :NONAME_517wait 0 Car.StorePos([email protected], [email protected], [email protected], [email protected])if and not Actor.Driving($PLAYER_ACTOR)0205: actor $PLAYER_ACTOR near_car [email protected] radius 15.0 15.0 150.0 flag 0 else_jump @NONAME_628 0633: AS_actor [email protected] exit_car 0633: AS_actor [email protected] exit_car 05E2: AS_actor [email protected] kill_actor $PLAYER_ACTOR 05E2: AS_actor [email protected] kill_actor $PLAYER_ACTOR jump @NONAME_707 :NONAME_609wait 0 0676: AS_actor [email protected] in_car [email protected] move_from_passengerseat_to_driverseat jump @NONAME_628 :NONAME_628wait 0 if 0205: actor $PLAYER_ACTOR near_car [email protected] radius 300.0 300.0 150.0 flag 0 else_jump @NONAME_857 if not Car.Wrecked([email protected])else_jump @NONAME_857 if not Actor.Dead([email protected])else_jump @NONAME_857 jump @NONAME_517 :NONAME_707wait 0 if not Actor.Dead($PLAYER_ACTOR)else_jump @NONAME_815 if and00F2: actor [email protected] near_actor $PLAYER_ACTOR radius 300.0 300.0 0 00F2: actor [email protected] near_actor $PLAYER_ACTOR radius 300.0 300.0 0 else_jump @NONAME_815 if and Actor.Dead([email protected]) Actor.Dead([email protected])else_jump @NONAME_707 if 0741: actor $PLAYER_ACTOR busted else_jump @NONAME_707 :NONAME_815wait 0 Actor.RemoveReferences([email protected])Actor.RemoveReferences([email protected])Car.RemoveReferences([email protected])0209: [email protected] = random_int_in_ranges 10000 20000 wait [email protected] jump @NONAME_6 :NONAME_857wait 0 Actor.RemoveReferences([email protected])Actor.RemoveReferences([email protected])Car.RemoveReferences([email protected])0209: [email protected] = random_int_in_ranges 10000 20000 wait [email protected] jump @NONAME_6 script 2 // This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013{$CLEO .cs}//-------------MAIN---------------0000: NOP wait 0 :[email protected] = Player.WantedLevel($PLAYER_CHAR)wait 1000 077E: get_active_interior_to [email protected] if and [email protected] == 5 [email protected] == 0 jf @NONAME_6 Model.Load(#SWATVAN)Model.Load(#MP5LNG)Model.Load(#FBI)038B: load_requested_models :NONAME_66wait 300 if and Model.Available(#SWATVAN) Model.Available(#MP5LNG) Model.Available(#FBI)jf @NONAME_66 wait 0 0209: [email protected] = random_int_in_ranges 50.0 100.0 0209: [email protected] = random_int_in_ranges 50.0 100.0 04C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset [email protected] [email protected] 1.0 02C1: store_to [email protected] [email protected] [email protected] car_path_coords_closest_to [email protected] [email protected] [email protected] [email protected] = Car.Create(#SWATVAN, [email protected], [email protected], [email protected])[email protected] = Actor.CreateAsDriver(Cop, #FBI, [email protected])[email protected] = Actor.CreateAsPassenger(Cop, #FBI, [email protected], 0)Actor.Health([email protected]) = 500Actor.Health([email protected]) = 500Actor.WeaponAccuracy([email protected]) = 75Actor.WeaponAccuracy([email protected]) = 75Actor.GiveWeaponAndAmmo([email protected], MP5, 99999)Actor.GiveWeaponAndAmmo([email protected], MP5, 99999)0423: set_car [email protected] improved_handling_to 2.0 // (float) Car.SetMaxSpeed([email protected], 50.0)Car.SetDriverBehaviour([email protected], DriveToPlayer)00AE: set_car [email protected] traffic_behaviour_to 2 Model.Destroy(#SWATVAN)Model.Destroy(#FBI)Model.Destroy(#MP5LNG)if Actor.Driving($PLAYER_ACTOR)jf @NONAME_439 [email protected] = Actor.CurrentCar($PLAYER_ACTOR)Actor.SetCarWeapon([email protected], 29, 200000):NONAME_360wait 0 if 0205: actor $PLAYER_ACTOR near_car [email protected] radius 300.0 300.0 150.0 flag 0 jf @NONAME_857 if not Car.Wrecked([email protected])jf @NONAME_857 if not Actor.Dead([email protected])jf @NONAME_609 jump @NONAME_439 :NONAME_439wait 0 if and not Actor.Driving($PLAYER_ACTOR)0205: actor $PLAYER_ACTOR near_car [email protected] radius 15.0 15.0 150.0 flag 0 jf @NONAME_360 0633: AS_actor [email protected] exit_car 0633: AS_actor [email protected] exit_car 05E2: AS_actor [email protected] kill_actor $PLAYER_ACTOR 05E2: AS_actor [email protected] kill_actor $PLAYER_ACTOR jump @NONAME_707 :NONAME_517wait 0 Car.StorePos([email protected], [email protected], [email protected], [email protected])if and not Actor.Driving($PLAYER_ACTOR)0205: actor $PLAYER_ACTOR near_car [email protected] radius 15.0 15.0 150.0 flag 0 jf @NONAME_628 0633: AS_actor [email protected] exit_car 0633: AS_actor [email protected] exit_car 05E2: AS_actor [email protected] kill_actor $PLAYER_ACTOR 05E2: AS_actor [email protected] kill_actor $PLAYER_ACTOR jump @NONAME_707 :NONAME_609wait 0 0676: AS_actor [email protected] in_car [email protected] move_from_passengerseat_to_driverseat jump @NONAME_628 :NONAME_628wait 0 if 0205: actor $PLAYER_ACTOR near_car [email protected] radius 300.0 300.0 150.0 flag 0 jf @NONAME_857 if not Car.Wrecked([email protected])jf @NONAME_857 if not Actor.Dead([email protected])jf @NONAME_857 jump @NONAME_517 :NONAME_707wait 0 if not Actor.Dead($PLAYER_ACTOR)jf @NONAME_815 if and00F2: actor [email protected] near_actor $PLAYER_ACTOR radius 300.0 300.0 0 00F2: actor [email protected] near_actor $PLAYER_ACTOR radius 300.0 300.0 0 jf @NONAME_815 if and Actor.Dead([email protected]) Actor.Dead([email protected])jf @NONAME_707 if 0741: actor $PLAYER_ACTOR busted jf @NONAME_707 :NONAME_815wait 0 Actor.RemoveReferences([email protected])Actor.RemoveReferences([email protected])Car.RemoveReferences([email protected])0209: [email protected] = random_int_in_ranges 10000 20000 wait [email protected] jump @NONAME_6 :NONAME_857wait 0 Actor.RemoveReferences([email protected])Actor.RemoveReferences([email protected])Car.RemoveReferences([email protected])0209: [email protected] = random_int_in_ranges 10000 20000 wait [email protected] jump @NONAME_6 It spawns a SWAT APC and FBI peds with MP5, i want to set as Washingtons (black if you can or blue) with tactic shotguns (spas-12) Please help Link to comment Share on other sites More sharing options...
Diegoti Posted May 4, 2018 Author Share Posted May 4, 2018 Bump Link to comment Share on other sites More sharing options...
Richie Makyura Posted May 4, 2018 Share Posted May 4, 2018 Use Wanted Level Editor By Jack Link to comment Share on other sites More sharing options...
Diegoti Posted May 5, 2018 Author Share Posted May 5, 2018 Use Wanted Level Editor By Jack Thanks but i already change that script for other one. Link to comment Share on other sites More sharing options...