Raised This Month: $ Target: $400
 0% 

[HELP] Blanks can only be added after items.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Nextra
Veteran Member
Join Date: Apr 2008
Location: Germany
Old 06-28-2014 , 16:12   Re: [HELP] Blanks can only be added after items.
Reply With Quote #1

You always have to add an item first before adding a blank using menu_addblank. The code you have provided should not trigger this behavior since you always use menu_additem first before reaching menu_addblank.
__________________
In Flames we trust!
Nextra is offline
Fuck For Fun
Veteran Member
Join Date: Nov 2013
Old 06-28-2014 , 18:44   Re: [HELP] Blanks can only be added after items.
Reply With Quote #2

Quote:
Originally Posted by Flick3rR View Post
Your loops, where you add blank and the items, are wrong. And the compiler says it itself.
Quote:
Originally Posted by Nextra View Post
You always have to add an item first before adding a blank using menu_addblank. The code you have provided should not trigger this behavior since you always use menu_additem first before reaching menu_addblank.
Look good on the stock Cmd MakeShop
menu_additem and blank
Can you answer my questions - 192 characters

Last edited by Fuck For Fun; 06-28-2014 at 18:46.
Fuck For Fun is offline
Send a message via Skype™ to Fuck For Fun
Nextra
Veteran Member
Join Date: Apr 2008
Location: Germany
Old 06-28-2014 , 22:38   Re: [HELP] Blanks can only be added after items.
Reply With Quote #3

Quote:
Originally Posted by Fuck For Fun View Post
Can you answer my questions - 192 characters
It doesn't matter for this problem, the menu system doesn't care how large the array is. You will probably never use display text longer than 63 characters, so you can reduce the size to 64 if you like.
__________________
In Flames we trust!
Nextra is offline
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 21:05.


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