GTA Mods Mania
Welcome to GTA Mods Mania
To get the most benefits of the forums .Please register otherwise you
won't be able to view some important boards & topics.
We are sure you will enjoy after joining the site.
Affiliates
pic

pic

pic

!
Welcome to GTA Mods Mania Join us now to access all of our features. Once you join us, you can make any topic to talk in this forum, give the reputation of a fellow member, design your profile, and much more. If you already have an account, Login here. If don't create one, here.

Drive-By Help

View previous topic View next topic Go down

Drive-By Help

Post by TheSpookyMan on Tue Feb 19, 2013 8:19 pm

Hi! there

By a mod I've changed my gang weapons to M4 SMG and Katana..but the thing is when they are in my car they can do drive by with any weapon except for RPGs and grenades. So how do i change my drive by weapons to almost any weapon except for those mentioned above...!!!

Help required!!! :>: :>:

_______________________
[You must be registered and logged in to see this link.]
avatar
TheSpookyMan
Moderators
 Moderators

Posts : 649
Join date : 2012-12-03
Age : 24
Location : Somewhere on Earth

Back to top Go down

Re: Drive-By Help

Post by TheGodfather on Wed Feb 20, 2013 3:45 pm

Well I made a similar mod before but didn't released it ....Have a look at the script ..
Tell me if u want something like this :

Code:

{$CLEO .cs}

//-------------MAIN---------------
thread 'CONTROLDRIVEBY'

:CONTROLDRIVEBY_19
wait 0
if
  Player.Defined($PLAYER_CHAR)
else_goto @CONTROLDRIVEBY_19
wait 0
if
test_cheat "DB"  //Press DB to start drive by..
else_goto @CONTROLDRIVEBY_19
0ACE: show_formatted_text_box "DriveBy ON press DB to stop" 
0470: 0@ = actor $PLAYER_ACTOR current_weapon         
{ Keep a weapon in ur hand then enter the car & press DB to start drive by with that weapon..}
wait 1000

:CONTROLDRIVEBY_104
wait 0
if
  Player.Defined($PLAYER_CHAR)
else_goto @CONTROLDRIVEBY_19
set_actor_armed_weapon $PLAYER_ACTOR 0@
wait 0
if or
test_cheat "DB"
  Actor.Driving($PLAYER_ACTOR)
else_goto @CONTROLDRIVEBY_104

:CONTROLDRIVEBY_158
wait 0
if and
  Player.Defined($PLAYER_CHAR)
  Actor.Driving($PLAYER_ACTOR)
else_goto @CONTROLDRIVEBY_341
wait 0
if and
00E1:  player 0 pressed_key 18
00E1:  player 0 pressed_key 11
else_goto @CONTROLDRIVEBY_249
0713: actor $PLAYER_ACTOR driveby_actor -1 car -1 point 0.0 0.0 0.0 radius -2 -1 -1 firing_rate 100
$DRIVEBYMODE = 1

:CONTROLDRIVEBY_249
wait 0
if and
00E1:  player 0 pressed_key 18
00E1:  player 0 pressed_key 10
else_goto @CONTROLDRIVEBY_158
0812: AS_actor $PLAYER_ACTOR perform_animation "OFF_SIT_IDLE_LOOP" IFP "INT_OFFICE" framedelta 0.0 loopA 0 lockX 0 lockY 0 lockF 0 time 0 // versionB
$DRIVEBYMODE = 0
jump @CONTROLDRIVEBY_158

:CONTROLDRIVEBY_341
0ACE: show_formatted_text_box "DriveBy OFF visit gtamodsmania.cz.cc for more mods n all" 
jump @CONTROLDRIVEBY_19


i hope this is what u r looking for....I ll give another script similar to this but made with mem. coding..Tell me if u need that too..Wink


_______________________
[You must be registered and logged in to see this link.]
GTA MODS MANIA was founded on Thu Nov 22, 2012 7:57 am, and today it`s exactly 1795 days old. Until now 336 users wrote 6343 posts at 668 topics. You (Guest) wrote 0 posts since you registered ()
avatar
TheGodfather
Administrator
Administrator

Posts : 1360
Join date : 2012-11-22
Age : 21
Location : Unknown

http://gtamodsmania.cz.cc/

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum