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