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

 RC submission

 RC mission help
 
arijitsen  
Posted: Sunday, Jul 22 2012, 04:00
Quote Post


It's show time
Group Icon
Group: Members
Joined: Jun 19, 2012

ia.gif

XXXXX



This Code is not working can anybody help I am trying to solve the problem but every time I fail.I have made it for main.SCM not for cleo.After the second time you press "2" in the burrito the game crashes !!!!!!!!
Thanks for help guys
CODE


//-------------MAIN---------------
03A4: name_thread 'RC'
0006: 26@ = 441
0006: 27@ = 464
0006: 28@ = 465
0006: 29@ = 501
0006: 30@ = 564
0006: 31@ = 594

:RC_59
0001: wait 0 ms
00D6: if and
0256:   player $PLAYER_CHAR defined
00DD:   actor $PLAYER_ACTOR driving_car_with_model #BURRITO
00E1:   player 0 pressed_key 19
004D: jump_if_false @RC_59
03C0: 0@ = actor $PLAYER_ACTOR car
0657: car 0@ open_componentA 4
0657: car 0@ open_componentA 5
0679: put_camera_on_car 0@ with_offset 2.0 -6.0 1.5 rotation 0.0 -4.0 -0.5 0.0 2
01B4: set_player $PLAYER_CHAR can_move 0
01F7: set_player $PLAYER_CHAR ignored_by_cops 1
03BF: set_player $PLAYER_CHAR ignored_by_everyone 1
0247: load_model #RCBANDIT
0247: load_model #RCBARON
0247: load_model #RCRAIDER
0247: load_model #RCGOBLIN
0247: load_model #RCTIGER
0247: load_model #RCCAM
038B: load_requested_models

:RC_210
0001: wait 0 ms
00D6: if and
0248:   model #RCBANDIT available
0248:   model #RCBARON available
0248:   model #RCRAIDER available
0248:   model #RCGOBLIN available
0248:   model #RCTIGER available
0248:   model #RCCAM available
004D: jump_if_false @RC_210
08D4: 4@ = create_panel_with_title 'DUMMY' position 29.0 170.0 width 180.0 columns 1 interactive 1 background 1 alignment 1
08D6: set_panel 4@ column 0 alignment 1
08DB: set_panel 4@ column 0 header 'DUMMY' data 'RCBANDT' 'RCBARON' 'RCRAIDE' 'RCGOBLI' 'RCTIGER' 'RCCAM' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY'  // RC Bandit // RC Baron // RC Raider // RC Goblin // RC Tiger // RC Cam
090E: set_panel 4@ active_row 2@
08D7: 3@ = panel 4@ active_row
0407: store_coords_to 5@ 6@ 7@ from_car 0@ with_offset 0.0 -4.0 -0.5
00A5: 1@ = create_car 26@(2@,1i) at 5@ 6@ 7@
0174: 7@ = car 0@ Z_angle
000B: 7@ += 180.0
0175: set_car 1@ Z_angle_to 7@

:RC_517
0001: wait 0 ms
08D7: 3@ = panel 4@ active_row
00D6: if
803B:   not  2@ == 3@ // (int)
004D: jump_if_false @RC_637
0085: 2@ = 3@ // (int)
00A6: destroy_car 1@
0407: store_coords_to 5@ 6@ 7@ from_car 0@ with_offset 0.0 -4.0 -0.5
00A5: 1@ = create_car 26@(2@,1i) at 5@ 6@ 7@
0174: 7@ = car 0@ Z_angle
000B: 7@ += 180.0
0175: set_car 1@ Z_angle_to 7@

:RC_637
00D6: if
80E1:   not player 0 pressed_key 16
004D: jump_if_false @RC_751
00D6: if
00E1:   player 0 pressed_key 15
004D: jump_if_false @RC_517
08DA: remove_panel 4@

:RC_676
0001: wait 0 ms
00D6: if
80E1:   not player 0 pressed_key 15
004D: jump_if_false @RC_676
01B4: set_player $PLAYER_CHAR can_move 1
01F7: set_player $PLAYER_CHAR ignored_by_cops 0
03BF: set_player $PLAYER_CHAR ignored_by_everyone 0
00A6: destroy_car 1@
068A: set_car 0@ repair_componentA 4
068A: set_car 0@ repair_componentA 5
01C3: remove_references_to_car 0@ // Like turning a car into any random car
02EB: restore_camera_with_jumpcut
0002: jump @RC_59

:RC_751
0001: wait 0 ms
00D6: if
80E1:   not player 0 pressed_key 16
004D: jump_if_false @RC_751
08D8: 2@ = panel 4@ selected_row
08DA: remove_panel 4@
0715: put_player $PLAYER_CHAR in_RC_mode_in_car 1@ // on foot version
01B4: set_player $PLAYER_CHAR can_move 1
048A: set_RC_car_detonation 0 // or opcode 04D6
04D6: enable_RC_car_detonation 0 // or opcode 048A

:RC_808
0001: wait 0 ms
00D6: if
00E1:   player 0 pressed_key 17
004D: jump_if_false @RC_834
020B: explode_car 1@ // versionA

:RC_834
00D6: if or
0119:   car 1@ wrecked
02BF:   car 1@ sunk
00E1:   player 0 pressed_key 15
004D: jump_if_false @RC_808
04DB: exit_RC_mode // on foot version
01F7: set_player $PLAYER_CHAR ignored_by_cops 0
03BF: set_player $PLAYER_CHAR ignored_by_everyone 0
0249: release_model #RCBANDIT
0249: release_model #RCBARON
0249: release_model #RCRAIDER
0249: release_model #RCGOBLIN
0249: release_model #RCTIGER
0249: release_model #RCCAM
0001: wait 2000 ms
068A: set_car 0@ repair_componentA 4
068A: set_car 0@ repair_componentA 5
01C3: remove_references_to_car 0@ // Like turning a car into any random car
0002: jump @RC_59
004E: end_thread
Users WebsitePM
  Top
 

 
SilentPL  
Posted: Sunday, Jul 22 2012, 11:04
Quote Post


Senior File Manager
Group Icon
Group: Members
Joined: Feb 1, 2010

pl.gif

Member Award




Stealing Ryosuke's mods ain't cool. You only changed the model ID.
Users WebsitePMMSNXbox Live
  Top
 

 
arijitsen  
Posted: Sunday, Jul 22 2012, 11:34
Quote Post


It's show time
Group Icon
Group: Members
Joined: Jun 19, 2012

ia.gif

XXXXX



QUOTE (SilentPL @ Sunday, Jul 22 2012, 16:34)
Stealing Ryosuke's mods ain't cool. You only changed the model ID.

Yeah I know it is of ryosuke but it is for my personal use not for my mod.That's why I m asking.I guess using and editing someone's mod for personal use can't be called stealing.I assure you I m not going to host that mod by my name but please help me I need 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