BnB 370 Posted July 9, 2010 Please post your code Quote Share this post Link to post Share on other sites
yair1221 1 Posted July 9, 2010 // 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 :NONAME_2wait 0 Model.Load(#PATRIOT)Model.Load(#ARMY):NONAME_21wait 0 0102: actor $PLAYER_ACTOR in_sphere 17.9163 695.394 443.3818 radius 4.0 4.0 4.0 sphere 1 stopped_on_foot jf @NONAME_21 08C7: put_actor $PLAYER_ACTOR at 1098.0 1612.0 12.6 // versionB Actor.Angle($PLAYER_ACTOR) = 0.0wait 100 Camera.SetBehindPlayerPlayer.CanMove($PLAYER_CHAR) = Falsewait 1000 $HUMMER = Car.Create(#PATRIOT, 1098.0, 1631.0, 12.8)Car.Angle($HUMMER) = 180.0$HUMMERMINIGUN = Object.Create(#MINIGUN, 0.0, 0.0, 0.0)0681: attach_object $HUMMERMINIGUN to_car $HUMMER with_offset 0.0 0.0 1.7 rotation 0.0 35.0 90.0 wait 1000 Car.SetToNormalDriver($HUMMER)Car.DriveTo($HUMMER, 1098.0, 1611.0, 12.6)Car.SetImmunities($HUMMER, 1, 1, 1, 1, 1)wait 4000 Player.CanMove($PLAYER_CHAR) = Truejump @NONAME_2 {$CLEO}thread 'TurretFire':1wait 0ifactor.InCar($player_actor, $HUMMER)jf @1repeatwait 0until 0AB0: key_pressed 96wait 0object.StorePos($hummerminigun, [email protected], [email protected], [email protected])camera.SetBehindPlayer() wait 0068E: get_camera_target_point_to [email protected] [email protected] [email protected] 06BC: create_M4_shoot_from [email protected] [email protected] [email protected] target [email protected] [email protected] [email protected] energy 1wait 1006BC: create_M4_shoot_from [email protected] [email protected] [email protected] target [email protected] [email protected] [email protected] energy 1wait 1006BC: create_M4_shoot_from [email protected] [email protected] [email protected] target [email protected] [email protected] [email protected] energy 1wait 1006BC: create_M4_shoot_from [email protected] [email protected] [email protected] target [email protected] [email protected] [email protected] energy 1wait 1006BC: create_M4_shoot_from [email protected] [email protected] [email protected] target [email protected] [email protected] [email protected] energy 1wait 1006BC: create_M4_shoot_from [email protected] [email protected] [email protected] target [email protected] [email protected] [email protected] energy 1wait 1006BC: create_M4_shoot_from [email protected] [email protected] [email protected] target [email protected] [email protected] [email protected] energy 1wait 1006BC: create_M4_shoot_from [email protected] [email protected] [email protected] target [email protected] [email protected] [email protected] energy 1wait 1006BC: create_M4_shoot_from [email protected] [email protected] [email protected] target [email protected] [email protected] [email protected] energy 1wait 1006BC: create_M4_shoot_from [email protected] [email protected] [email protected] target [email protected] [email protected] [email protected] energy 1wait 1006BC: create_M4_shoot_from [email protected] [email protected] [email protected] target [email protected] [email protected] [email protected] energy 1wait 1006BC: create_M4_shoot_from [email protected] [email protected] [email protected] target [email protected] [email protected] [email protected] energy 1wait 1006BC: create_M4_shoot_from [email protected] [email protected] [email protected] target [email protected] [email protected] [email protected] energy 1wait 1006BC: create_M4_shoot_from [email protected] [email protected] [email protected] target [email protected] [email protected] [email protected] energy 1wait 1006BC: create_M4_shoot_from [email protected] [email protected] [email protected] target [email protected] [email protected] [email protected] energy 1wait 250jf @1 thats it Quote Share this post Link to post Share on other sites
BnB 370 Posted July 9, 2010 Try this {$CLEO .cs}//-------------MAIN---------------0000: NOP:NONAME_1wait 0 ms if Player.Defined($PLAYER_CHAR)jf @NONAME_1:NONAME_2wait 0Model.Load(#PATRIOT)if model.Available(#PATRIOT)jf @NONAME_2:NONAME_2102A7: [email protected] = create_icon_marker_and_sphere 0 at 17.9163 695.394 443.3818 wait 0if0102: actor $PLAYER_ACTOR in_sphere 17.9163 695.394 443.3818 radius 4.0 4.0 4.0 sphere 1 stopped_on_footjf @NONAME_2108C7: put_actor $PLAYER_ACTOR at 1098.0 1612.0 12.6 // versionBActor.Angle($PLAYER_ACTOR) = 0.0wait 1000373: set_camera_directly_behind_player 01B4: set_player $PLAYER_CHAR can_move 0 wait 10000395: clear_area 1 at 1098.0 1631.0 12.8 radius 3.0 [email protected] = Car.Create(#PATRIOT, 1098.0, 1631.0, 12.8)Car.Angle([email protected]) = [email protected] = Object.Create(#MINIGUN, 0.0, 0.0, 0.0)0681: attach_object [email protected] to_car [email protected] with_offset 0.0 0.0 1.7 rotation 0.0 35.0 90.0wait 1000Car.DriveTo([email protected], 1098.0, 1611.0, 12.6)Car.SetImmunities([email protected], 1, 1, 1, 1, 1)wait 400001B4: set_player $PLAYER_CHAR can_move 1 :1wait 0ifactor.InCar($player_actor, [email protected])jf @1repeatwait 0until 0AB0: key_pressed 96wait 0object.StorePos([email protected], [email protected], [email protected], [email protected])0373: set_camera_directly_behind_player wait 0068E: get_camera_target_point_to [email protected] [email protected] [email protected]: create_M4_shoot_from [email protected] [email protected] [email protected] target [email protected] [email protected] [email protected] energy 1wait 1006BC: create_M4_shoot_from [email protected] [email protected] [email protected] target [email protected] [email protected] [email protected] 1wait 1006BC: create_M4_shoot_from [email protected] [email protected] [email protected] target [email protected] [email protected] [email protected] energy 1wait 1006BC: create_M4_shoot_from [email protected] [email protected] [email protected] target [email protected] [email protected] [email protected] energy 1wait 1006BC: create_M4_shoot_from [email protected] [email protected] [email protected] target [email protected] [email protected] [email protected] energy 1wait 1006BC: create_M4_shoot_from [email protected] [email protected] [email protected] target [email protected] [email protected] [email protected] energy 1wait 1006BC: create_M4_shoot_from [email protected] [email protected] [email protected] target [email protected] [email protected] [email protected] energy 1wait 1006BC: create_M4_shoot_from [email protected] [email protected] [email protected] target [email protected] [email protected] [email protected] energy 1wait 1006BC: create_M4_shoot_from [email protected] [email protected] [email protected] target [email protected] [email protected] [email protected] energy 1wait 1006BC: create_M4_shoot_from [email protected] [email protected] [email protected] target [email protected] [email protected] [email protected] energy 1wait 1006BC: create_M4_shoot_from [email protected] [email protected] [email protected] target [email protected] [email protected] [email protected] energy 1wait 1006BC: create_M4_shoot_from [email protected] [email protected] [email protected] target [email protected] [email protected] [email protected] energy 1wait 1006BC: create_M4_shoot_from [email protected] [email protected] [email protected] target [email protected] [email protected] [email protected] energy 1wait 1006BC: create_M4_shoot_from [email protected] [email protected] [email protected] target [email protected] [email protected] [email protected] energy 1wait 1006BC: create_M4_shoot_from [email protected] [email protected] [email protected] target [email protected] [email protected] [email protected] energy 1wait 250jump @1 Quote Share this post Link to post Share on other sites
yair1221 1 Posted July 9, 2010 hh it works but it fires BACKWARDS besides i made some little changes so now you can aim wherever you want and the bullets fire slower Quote Share this post Link to post Share on other sites