Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Drug Wars
      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

error Not enough actual parameters. Expected 15 pa


kiponline2001
 Share

  

1 member has voted

  1. 1.

    • thank you guy for help me but now i have new problem.when i'm test it error.
      1


Recommended Posts

kiponline2001

I just i newbie of code so i don't know what wrong of this code(sorry for my bad english)

 

//-------------MAIN---------------thread 'WEAPON' :WEAPONwait 0 if and0AB0:   key_pressed 870AB0:   key_pressed 690AB0:   key_pressed 650AB0:   key_pressed 800AB0:   key_pressed 790AB0:   key_pressed 78jf @WEAPON 08D4: $MENU = create_panel_with_title 'DUMMY' position 29.0 145.0 width 220.0 columns 1 interactive 1 background 1 alignment 108DB:  set_panel $MENU column 0 header 'DUMMY' data 'AKA' 'DUMMY'repeatwait  0 msif 00E1:   player 0 pressed_key 15 then              08DA: remove_panel $MENU03E6: remove text boxjump @ENDenduntil 00E1:   player 0 pressed_key 16 08D7: $choice = panel $MENU active_row08DA: remove_panel $MENU03E6: remove text boxif $choice == 0then0004: &0([email protected],4i) = 0x44554D0004C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset -6.0 2.0 0.0032B: [email protected] = create_weapon_pickup #ak47 group 4 ammo 1000 at [email protected] [email protected] [email protected]:ENDwait 1000jump @END

 

The code of menu i use of this http://www.gtaforums.com/index.php?showtop...entry1059080299

Link to comment
Share on other sites

I just i newbie of code so i don't know what wrong of this code(sorry for my bad english)

 

//-------------MAIN---------------thread 'WEAPON' :WEAPONwait 0 if and0AB0:   key_pressed 870AB0:   key_pressed 690AB0:   key_pressed 650AB0:   key_pressed 800AB0:   key_pressed 790AB0:   key_pressed 78jf @WEAPON 08D4: $MENU = create_panel_with_title 'DUMMY' position 29.0 145.0 width 220.0 columns 1 interactive 1 background 1 alignment 108DB:  set_panel $MENU column 0 header 'DUMMY' data 'AKA' 'DUMMY'repeatwait  0 msif 00E1:   player 0 pressed_key 15 then              08DA: remove_panel $MENU03E6: remove text boxjump @ENDenduntil 00E1:   player 0 pressed_key 16 08D7: $choice = panel $MENU active_row08DA: remove_panel $MENU03E6: remove text boxif $choice == 0then0004: &0([email protected],4i) = 0x44554D0004C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset -6.0 2.0 0.0032B: [email protected] = create_weapon_pickup #ak47 group 4 ammo 1000 at [email protected] [email protected] [email protected]:ENDwait 1000jump @END

 

The code of menu i use of this http://www.gtaforums.com/index.php?showtop...entry1059080299

I Believe this opcode:

 

 

0004: &0([email protected],4i) = 0x44554D00

 

 

Is causing the error.

 

I could be wrong though, It's been along time since I've coded stuff for GTA.

Link to comment
Share on other sites

The problem is with

 

08DB:  set_panel $MENU column 0 header 'DUMMY' data 'AKA' 'DUMMY'

 

 

The opcode expects 15 params and you only wrote 5. Pad until 15 with 'DUMMY'.

 

08DB:  set_panel $MENU column 0 header 'DUMMY' data 'AKA' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY'

 

Link to comment
Share on other sites

The problem is with

 

08DB:  set_panel $MENU column 0 header 'DUMMY' data 'AKA' 'DUMMY'

 

 

The opcode expects 15 params and you only wrote 5. Pad until 15 with 'DUMMY'.

 

08DB:  set_panel $MENU column 0 header 'DUMMY' data 'AKA' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY'

 

Ah yes! why didn't I realise.

 

I know I'm not the original poster but I like my mind to be refreshed now and then.

 

So thanks Link.

Link to comment
Share on other sites

kiponline2001

Thanks you guy.When i compile it fine but when i'm go to game it crash.

user posted image

Link to comment
Share on other sites

Why have you created a poll?

 

and at which point is the game crashing?

Link to comment
Share on other sites

kiponline2001

sorry i'm newbie don't know how to reply.When i'm go to new game it crash

Link to comment
Share on other sites

sorry i'm newbie don't know how to reply.When i'm go to new game it crash

CLEO has a known bug upon where it crashes when starting a new game.

 

Quit GTA then re-open it?

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.