Raised This Month: $ Target: $400
 0% 

Index out of bounds


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Podarok
BANNED
Join Date: Jan 2011
Location: Narnia
Old 08-15-2013 , 10:34   Re: Index out of bounds
Reply With Quote #4

Quote:
Originally Posted by YamiKaitou View Post
What is the value of item? IIRC, the New Menu style does not use a Zero based item scale, so you would need to cope with that.
If I press 0 - aka Exit, it shows me this error...

Quote:
Originally Posted by Backstabnoob View Post
Yami is right, use str_to_num( g_Cost[ item - 1 ] ).
Also this is not right.

Last edited by Podarok; 08-15-2013 at 10:34.
Podarok is offline
 



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 15:55.


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