Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. The Criminal Enterprises
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Support

    3. Suggestions

*DO NOT* SHARE MEDIA OR LINKS TO LEAKED COPYRIGHTED MATERIAL. Discussion is allowed.

Menu Crash


Pie015
 Share

Recommended Posts

For some reason it crashes when I launch the game for this menu I made.

sad.gif

 

 

{$CLEO .cs}//------------MAIN-----------0000: NOP:1wait 0077E: get_active_interior_to [email protected] and Player.Defined($PLAYER_CHAR)Player.Controllable($PLAYER_CHAR)816B:   not [email protected] == 0$ONMISSION == 0jf @1Model.Load(240)03CF: load_wav 1150 as 1 038B: load_requested_models:2wait 0if and03D0:   wav 1 loaded Model.Available(240)jf @2:3wait [email protected] = Object.Create(2173, 2537.8015, -1707.6982, 12.4183)Object.Angle([email protected]) = -270.0Object.CollisionDetection([email protected]) = TrueObject.ToggleInMovingList([email protected]) = FalseObject.SetImmunities([email protected], 1, 1, 1, 1, 1)[email protected] = Actor.Create(CivMale, 240, 2538.3364, -1707.1725, 13.4134)Actor.Angle([email protected]) = 90.0 wait 100004D7: set_actor [email protected] locked 1Marker.CreateAboveActor([email protected], [email protected])0165: set_marker [email protected] color_to 0x785BFFFF 018B: set_marker [email protected] radar_mode 2 02A9: set_actor [email protected] immune_to_nonplayer 102AB: set_actor [email protected] immunities BP 1 FP 1 EP 1 CP 1 MP 10446: set_actor [email protected] immune_to_headshots 0 0350: set_actor [email protected] maintain_position_when_attacked 1 0249: release_model 240:4wait [email protected] = Pickup.Create(1274, 2, 2536.4763, -1707.6899, 13.4244) :5wait 0ifPickup.Picked_up([email protected])jf @5Actor.StorePos($PLAYER_ACTOR, [email protected], [email protected], [email protected])018C: play_sound 1150 at [email protected] [email protected] [email protected]: unload_wav 10172: [email protected] = actor $PLAYER_ACTOR Z_angle Actor.PutAt($PLAYER_ACTOR, 2536.5273, -1706.0522, 13.4121)Player.CanMove($PLAYER_CHAR) = FalseCamera.Restore_WithJumpCut0173: set_actor $PLAYER_ACTOR Z_angle_to [email protected]: set_player $PLAYER_CHAR ignored_by_everyone 1 0512: show_permanent_text_box 'INSTR'08D4: [email protected] = create_panel_with_title 'DEPF' position 29.0 145.0 width 220.0 columns 1 interactive 1 background 1 alignment 1  // Imports08DB: set_panel [email protected] column 0 header 'DEPF' data 'MNE1' 'MNE2' 'MNE3' 'MNE4' 'MNE5' 'MNE6' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY':6wait 0if00E1:   player 0 pressed_key 15jf @708DA: remove_panel [email protected]: remove text boxCamera.Restore_WithJumpCutPlayer.CanMove($PLAYER_CHAR) = True03BF: set_player $PLAYER_CHAR ignored_by_everyone 0jump @5:7wait 0if00E1:   player 0 pressed_key 16jf @608D7: [email protected] = panel [email protected] active_row08DA: remove_panel [email protected]: remove text boxCamera.Restore_WithJumpCutPlayer.CanMove($PLAYER_CHAR) = True03BF: set_player $PLAYER_CHAR ignored_by_everyone [email protected] == 0jf @8if010A:   player $PLAYER_CHAR money > 5jf @NOTENOUGHPlayer.Money($PLAYER_CHAR) += -5jump @SAVE1:8wait [email protected] == 1jf @10if010A:   player $PLAYER_CHAR money > 10jf @NOTENOUGHPlayer.Money($PLAYER_CHAR) += -10jump @SAVE2:10wait [email protected] == 2jf @11if010A:   player $PLAYER_CHAR money > 100jf @NOTENOUGHPlayer.Money($PLAYER_CHAR) += -100jump @SAVE3:11wait [email protected] == 3jf @12if010A:   player $PLAYER_CHAR money > 1000jf @NOTENOUGHPlayer.Money($PLAYER_CHAR) += -1000jump @SAVE4:12wait [email protected] == 4jf @13if010A:   player $PLAYER_CHAR money > 10000jf @NOTENOUGHPlayer.Money($PLAYER_CHAR) += -10000jump @SAVE5:13wait [email protected] == 5jf @6if010A:   player $PLAYER_CHAR money > 100000jf @NOTENOUGHPlayer.Money($PLAYER_CHAR) += -100000jump @SAVE6:NOTENOUGHwait 000BA: show_text_styled GXT 'NECA' time 3000 style 6  // Beefy Baronjump @6:SAVE1wait 0ifPickup.Picked_up([email protected])jf @SAVE1Player.Money($PLAYER_CHAR) += 5Camera.Restore_WithJumpCutPlayer.CanMove($PLAYER_CHAR) = Truejump @5:SAVE2wait 0ifPickup.Picked_up([email protected])jf @SAVE2Player.Money($PLAYER_CHAR) += 10                                                   ;Camera.Restore_WithJumpCutPlayer.CanMove($PLAYER_CHAR) = Truejump @5:SAVE3wait 0ifPickup.Picked_up([email protected])jf @SAVE3Player.Money($PLAYER_CHAR) += 100Camera.Restore_WithJumpCutPlayer.CanMove($PLAYER_CHAR) = Truejump @5:SAVE4wait 0ifPickup.Picked_up([email protected])jf @SAVE4Player.Money($PLAYER_CHAR) += 1000Camera.Restore_WithJumpCutPlayer.CanMove($PLAYER_CHAR) = Truejump @5:SAVE5wait 0ifPickup.Picked_up([email protected])jf @SAVE5Player.Money($PLAYER_CHAR) += 10000Camera.Restore_WithJumpCutPlayer.CanMove($PLAYER_CHAR) = Truejump @5:SAVE6wait 0ifPickup.Picked_up([email protected])jf @SAVE6Player.Money($PLAYER_CHAR) += 100000Camera.Restore_WithJumpCutPlayer.CanMove($PLAYER_CHAR) = Truejump @5

 

 

 

The FXT:INSTR Press UP and DOWN to choose scroll~n~~k~~PED_SPRINT~ to choose an Item~n~~k~~VEHICLE_ENTER_EXIT~ to exitDEPF DepositMNE1 $5MNE2 $10MNE3 $100MNE4 $1000MNE5 $10000MNE5 $100000NECA ~r~not enough money to deposit!~r~

 

Link to comment
Share on other sites

 

03CF: load_wav 1150 as 1

 

 

Don't load the sound using WAV opcodes, just play it using

 

 

018C: play_sound 1150 at 0.0 0.0 0.0

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.