Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Show_SkinMenu(id)
- {
- jbe_informer_offset_up(id);
- jbe_menu_block(id);
- new szMenu[512], iKeys = (1 << 0 | 1 << 1 | 1 << 2 | 1 << 3), iLen = formatex(szMenu, charsmax(szMenu), "\y%L^n^n", id, "JBE_MENU_SKIN_TITLE");
- iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\y[1] \w%L^n", id, "JBE_MENU_SKIN_ORANGE");
- iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\y[2] \w%L^n", id, "JBE_MENU_SKIN_GRAY");
- iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\y[3] \w%L^n", id, "JBE_MENU_SKIN_YELLOW");
- iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\y[4] \w%L^n", id, "JBE_MENU_SKIN_BLUE");
- if (IsSetBit(g_iBitUserAdmin, id))
- {
- formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\y[5] \w%L", id, "JBE_MENU_SKIN_BLACK");
- iKeys |= (1 << 4);
- }
- else formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\y[5] \d%L", id, "JBE_MENU_SKIN_BLACK");
- if (IsSetBit(g_iBitUserVip, id))
- {
- formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\y[6] \w%L", id, "JBE_MENU_SKIN_VIP");
- iKeys |= (1 << 5);
- }
- else formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\y[6] \w%L", id, "JBE_MENU_SKIN_VIP");
- return show_menu(id, iKeys, szMenu, -1, "Show_SkinMenu");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement