IMG

 
IMG
IMG   IMG
  Welcome to GTAForums! Be sure to check out the Grand Theft Auto V Forum.

You are not registered! (If you are, click here to login) Registering is fast, free and easy and allows you to instantly reply to any topic on GTAForums.
Why wait? Click here to register your own unique username and become part of the ever-growing community!


( Log In | Register | Revalidate Validation E-mail )
Quick Log-In:
  IMG
       
>
Forum Rules GTA Modification Forums

Please post mod releases in the Mod Showroom

GTAGarage.com
free mod hosting from GTANet, simply login with your GTAForums account details

GTAModding.com
GTANet's modding wiki

GTA Modding Chatroom
provided by irc.gtanet.com (Don't have an IRC client? Click here)


  Reply to this topicStart new topicStart Poll

 Drive by

 
Joni2030  
Posted: Tuesday, Jun 5 2012, 17:30
Quote Post


Prankster
Group Icon
Group: Members
Joined: Jul 6, 2011

sf.gif

XXXXX



Edit: This isnīt mine! i want only some changes i will not host this!
i want it to activate with RMB and if i dont want use it anymore then i press again RMB i want it to activate and deactive from RMB is it possible


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---------------
03A4: name_thread 'CLONECS'
0A8C: write_memory 6601887 size 4 value -1869574000 virtual_protect 1
0A8C: write_memory 6601891 size 4 value -1869574000 virtual_protect 1
0A8C: write_memory 6601895 size 1 value 144 virtual_protect 1
0A8C: write_memory 6609737 size 4 value -1869574000 virtual_protect 1
0A8C: write_memory 6609741 size 4 value -1869574000 virtual_protect 1
0A8C: write_memory 6609745 size 1 value 144 virtual_protect 1
0A8C: write_memory 5383203 size 2 value 37008 virtual_protect 1
0470: 24@ = actor $player_actor current_weapon

:clonecs_127
0001: wait 0 ms
0006: 29@ = 0
00D6: if and
84C8:   not actor $player_actor driving_flying_vehicle
84A7:   not actor $player_actor driving_boat
80DD:   not actor $player_actor driving_car_with_model #RHINO
80DD:   not actor $player_actor driving_car_with_model #FIRETRUK
80DD:   not actor $player_actor driving_car_with_model #SWATVAN
00DF:   actor $player_actor driving
004D: jump_if_false @clonecs_1559
03C0: 25@ = actor $player_actor car
0432: 17@ = get_actor_handle_from_car 25@ passenger_seat 0
0432: 18@ = get_actor_handle_from_car 25@ passenger_seat 1
0432: 19@ = get_actor_handle_from_car 25@ passenger_seat 2
00D6: if or
003C:   $player_actor == 17@ // (int)
003C:   $player_actor == 18@ // (int)
003C:   $player_actor == 19@ // (int)
004D: jump_if_false @clonecs_268
0002: jump @clonecs_127

:clonecs_268
00D6: if
0039:   30@ == 1
004D: jump_if_false @clonecs_390
0A96: 13@ = actor $player_actor struct
000A: 13@ += 1816
0A8D: 26@ = read_memory 13@ size 1 virtual_protect 0
00D6: if or
8029:   not  26@ >= 2
0019:   26@ > 7
004D: jump_if_false @clonecs_390
0006: 26@ = 2
03C0: 25@ = actor $player_actor car
0A96: 13@ = actor $player_actor struct
000A: 13@ += 1816
0A8C: write_memory 13@ size 1 value 26@ virtual_protect 0
036A: put_actor $player_actor in_car 25@

:clonecs_390
00D6: if
00E1:   player 0 pressed_key 15
004D: jump_if_false @clonecs_414
0006: 33@ = 0

:clonecs_414
00D6: if
8A4B:   not controls_set_to_joystick
004D: jump_if_false @clonecs_543
00D6: if
0AB0:   key_pressed 2
004D: jump_if_false @clonecs_512
0713: actor $player_actor driveby_actor -1 car -1 point 0 0 0 radius 900.0 4 0 firing_rate 100
0A97: 14@ = car 25@ struct
000A: 14@ += 2212
0A8C: write_memory 14@ size 1 value -0.01 virtual_protect 0
0006: 32@ = 0
0002: jump @clonecs_536

:clonecs_512
00D6: if
8029:   not  32@ >= 200
004D: jump_if_false @clonecs_536
0687: clear_actor $player_actor task

:clonecs_536
0002: jump @clonecs_662

:clonecs_543
00D6: if
00E1:   player 0 pressed_key 5
004D: jump_if_false @clonecs_630
0713: actor $player_actor driveby_actor -1 car -1 point 0 0 0 radius 900.0 4 0 firing_rate 100
0A97: 14@ = car 25@ struct
000A: 14@ += 2212
0A8C: write_memory 14@ size 1 value -0.01 virtual_protect 0
0006: 32@ = 0
0002: jump @clonecs_662

:clonecs_630
00D6: if
0019:   32@ > 700
8029:   not  32@ >= 1000
004D: jump_if_false @clonecs_662
0687: clear_actor $player_actor task

:clonecs_662
00D6: if and
0019:   33@ > 300
00E1:   player 0 pressed_key 7
80E1:   not player 0 pressed_key 5
8AAB:   not file_exists "CLEO\DRIVEBY2.CS"
004D: jump_if_false @clonecs_938
0470: 24@ = actor $player_actor current_weapon
0006: 8@ = 0

:clonecs_728
8029:   not  8@ >= 8
004D: jump_if_false @clonecs_938
00D6: if or
8029:   not  26@ >= 2
0039:   26@ == 7
004D: jump_if_false @clonecs_781
0006: 26@ = 2
0002: jump @clonecs_788

:clonecs_781
000A: 26@ += 1

:clonecs_788
0A8C: write_memory 12006502 size 1 value 0 virtual_protect 0
03C0: 25@ = actor $player_actor car
02E3: 9@ = car 25@ speed
0A96: 13@ = actor $player_actor struct
000A: 13@ += 1816
0A8C: write_memory 13@ size 1 value 26@ virtual_protect 0
000A: 26@ += 1
04B8: get_weapon_data_from_actor $player_actor weapon_group 26@ weapon 24@ ammo 31@ model 31@
000E: 26@ -= 1
0006: 33@ = 0
036A: put_actor $player_actor in_car 25@
04BA: set_car 25@ speed_to 9@
00D6: if
82D8:   not actor $player_actor current_weapon == 0
004D: jump_if_false @clonecs_924
0006: 8@ = 8

:clonecs_924
000A: 8@ += 1
0002: jump @clonecs_728

:clonecs_938
00D6: if and
0019:   33@ > 300
8A4B:   not controls_set_to_joystick
00E1:   player 0 pressed_key 5
80E1:   not player 0 pressed_key 7
8AAB:   not file_exists "CLEO\DRIVEBY2.CS"
004D: jump_if_false @clonecs_1216
0470: 24@ = actor $player_actor current_weapon
0006: 8@ = 0

:clonecs_1006
8029:   not  8@ >= 8
004D: jump_if_false @clonecs_1216
00D6: if or
0039:   26@ == 2
0019:   26@ > 7
004D: jump_if_false @clonecs_1059
0006: 26@ = 7
0002: jump @clonecs_1066

:clonecs_1059
000E: 26@ -= 1

:clonecs_1066
0A8C: write_memory 12006498 size 1 value 0 virtual_protect 0
03C0: 25@ = actor $player_actor car
02E3: 9@ = car 25@ speed
0A96: 13@ = actor $player_actor struct
000A: 13@ += 1816
0A8C: write_memory 13@ size 1 value 26@ virtual_protect 0
000A: 26@ += 1
04B8: get_weapon_data_from_actor $player_actor weapon_group 26@ weapon 24@ ammo 31@ model 31@
000E: 26@ -= 1
0006: 33@ = 0
036A: put_actor $player_actor in_car 25@
04BA: set_car 25@ speed_to 9@
00D6: if
82D8:   not actor $player_actor current_weapon == 0
004D: jump_if_false @clonecs_1202
0006: 8@ = 8

:clonecs_1202
000A: 8@ += 1
0002: jump @clonecs_1006

:clonecs_1216
00D6: if and
0019:   33@ > 300
8A4B:   not controls_set_to_joystick
00E1:   player 0 pressed_key 10
0AAB:   file_exists "CLEO\DRIVEBY2.CS"
004D: jump_if_false @clonecs_1488
0470: 24@ = actor $player_actor current_weapon
0006: 8@ = 0

:clonecs_1278
8029:   not  8@ >= 8
004D: jump_if_false @clonecs_1488
00D6: if or
0039:   26@ == 2
0019:   26@ > 7
004D: jump_if_false @clonecs_1331
0006: 26@ = 7
0002: jump @clonecs_1338

:clonecs_1331
000E: 26@ -= 1

:clonecs_1338
0A8C: write_memory 12006498 size 1 value 0 virtual_protect 0
03C0: 25@ = actor $player_actor car
02E3: 9@ = car 25@ speed
0A96: 13@ = actor $player_actor struct
000A: 13@ += 1816
0A8C: write_memory 13@ size 1 value 26@ virtual_protect 0
000A: 26@ += 1
04B8: get_weapon_data_from_actor $player_actor weapon_group 26@ weapon 24@ ammo 31@ model 31@
000E: 26@ -= 1
0006: 33@ = 0
036A: put_actor $player_actor in_car 25@
04BA: set_car 25@ speed_to 9@
00D6: if
82D8:   not actor $player_actor current_weapon == 0
004D: jump_if_false @clonecs_1474
0006: 8@ = 8

:clonecs_1474
000A: 8@ += 1
0002: jump @clonecs_1278

:clonecs_1488
00D6: if
8AAB:   not file_exists "CLEO\DRIVEBY2.CS"
004D: jump_if_false @clonecs_1545
0A8C: write_memory 12006502 size 1 value 0 virtual_protect 0
0A8C: write_memory 12006498 size 1 value 0 virtual_protect 0

:clonecs_1545
0006: 30@ = 0
0002: jump @clonecs_1615

:clonecs_1559
00D6: if and
0019:   33@ > 2000
0039:   30@ == 0
004D: jump_if_false @clonecs_1592
0006: 30@ = 1

:clonecs_1592
00D6: if
0038:   $onmission == 0
004D: jump_if_false @clonecs_1615
01C3: remove_references_to_car 25@ // Like turning a car into any random car

:clonecs_1615
0002: jump @clonecs_127


This post has been edited by Joni2030 on Tuesday, Jun 5 2012, 17:58
Users WebsitePM
  Top
 

 
GDI000  
Posted: Saturday, Jun 9 2012, 19:01
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Feb 13, 2011

XXXXX



Yes you can biggrin.gif
idon't know what are you doing confused.gif
but you have to add a wait opcode after the key presse like
/ wait 1000 ms /
Because the key is very sensitive and very very fast
PM
  Top
 

 
Joni2030  
Posted: Sunday, Jun 10 2012, 13:50
Quote Post


Prankster
Group Icon
Group: Members
Joined: Jul 6, 2011

sf.gif

XXXXX



I dont need it any more but thanks if i need it i will do it
Users WebsitePM
  Top
 

 

0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)

0 Members:

Topic Options Reply to this topicStart new topicStart Poll
Search topic for posted by (exact match)



 
IMG IMG