Raised This Month: $ Target: $400
 0% 

aww


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Kellan123
AlliedModders Donor
Join Date: Aug 2012
Old 07-31-2013 , 03:32   Re: Menu Problem
Reply With Quote #1

asdasd

Last edited by Kellan123; 08-16-2014 at 12:13.
Kellan123 is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 07-31-2013 , 03:38   Re: Menu Problem
Reply With Quote #2

Now that you have provided all information, i can say that correct args order is :

formatex(szMenu, charsmax(szMenu), gszBlockMenu, gszBlockNames[gSelectedBlockType[id]], szSize, col, col, col, col, col, szNoclip, col, szGodmode);

Anyway, you have to put args in the same order they appear in the string, formater is not magic and can't know by itself where this or that should go.
You could have figured this out by yourself.


Also, should_menu keys should be changed according to access :

show_menu(id, gKeysBlockMenu, szMenu, -1, "bmBlockMenu");

->

show_menu(id, gAccess[id] ? gKeysBlockMenu : gAccess[id] & ~( MENU_KEY_3|MENU_KEY_4|MENU_KEY_5|MENU_KEY_6|M ENU_KEY_7|MENU_KEY_8 ), szMenu, -1, "bmBlockMenu");
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 07-31-2013 at 03:42.
ConnorMcLeod 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 15:59.


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