Raised This Month: $ Target: $400
 0% 

Help Pleaseeeeeeeeeeeeeeee :) :(


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Natsheh
Veteran Member
Join Date: Sep 2012
Old 06-06-2013 , 04:57   Help Pleaseeeeeeeeeeeeeeee :) :(
Reply With Quote #1

Code:
L 06/06/2013 - 11:54:22: [AMXX] Displaying debug trace (plugin "Admin-Menu.amxx")
L 06/06/2013 - 11:54:22: [AMXX] Run time error 4: index out of bounds 
L 06/06/2013 - 11:54:22: [AMXX]    [0] Admin-Menu.sma::KBMenu (line 155)
L 06/06/2013 - 11:54:22: [AMXX]    [1] Admin-Menu.sma::AdminMenuHandle (line 99)
What Wrong?!?!?

Code:
Line 155 : 	formatex(szText, charsmax(szText), "\rReason: \w%s", szReasonsText[szReasons[id]])
	menu_additem(KB, szText, "2", 0)
////////////////////////////////////
Line 99: 
		case 0:
		{
			KBMenu(id)
			return PLUGIN_HANDLED
		}

Last edited by Natsheh; 06-06-2013 at 04:59.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
At3u
Member
Join Date: Feb 2013
Location: On the Moon
Old 06-06-2013 , 04:58   Re: Help Pleaseeeeeeeeeeeeeeee :) :(
Reply With Quote #2

Post .sma
At3u is offline
Old 06-06-2013, 05:01
Natsheh
This message has been deleted by Natsheh.
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 06-06-2013 , 06:09   Re: Help Pleaseeeeeeeeeeeeeeee :) :(
Reply With Quote #4

You are missing a line from the error report
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
akcaliberg
Senior Member
Join Date: Nov 2011
Location: Istanbul
Old 06-06-2013 , 07:33   Re: Help Pleaseeeeeeeeeeeeeeee :) :(
Reply With Quote #5

the compiler says that the szReasons[id] value is greater than the charsmax( szReasonsText )
akcaliberg is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 06-06-2013 , 08:40   Re: Help Pleaseeeeeeeeeeeeeeee :) :(
Reply With Quote #6

thx but ifix it by my self
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
Reply



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 16:23.


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