Raised This Month: $ Target: $400
 0% 

[SOLVED] Run time error 4: index out of bounds


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 04-24-2011 , 11:20   Re: Run time error 4: index out of bounds
Reply With Quote #5

Quote:
Originally Posted by Arkshine View Post
#define KEYPAD_MAX 10
new pug_keypad_store[33][KEYPAD_MAX]
// ...
pug_keypad_store[id][pug_keypad_mykey[id]] = str_to_num(cmd);

He says the value of pug_keypad_mykey[id] is most likely > 9 when pug_keypad_store accept only an index between 0 and 9.

Thansk fixed, but i enter the correct password the menu don't close and don't called any function
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:57.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode