Nelabai įsivaizduoju kaip šitam meniu turėtų atrodyt multi-lingual. Visą kitą pasidariau, ten daug mokslo nereikia, bet problema man su meniu
Code: Select all
Challenge(challenger, challenged) { g_challenger = challenger g_challenged = challenged g_challenging = true new challenger_name[32], challenged_name[32] get_user_name(challenger, challenger_name, 31) get_user_name(challenged, challenged_name, 31) client_print(challenger, print_chat, "%L", challenger, "YOU_CHALLANGED", challenged_name, DECIDESECONDS) new menu[1024], keys = MENU_KEY_1 | MENU_KEY_2 format(menu, 1023, "You are challenged by %s to a knife duel!^n^nWhat will it be? You have %d seconds to answer!^n^n\y1\w. Bring it on!^n\y2\w. No, I'd rather use my boomstick!", challenger_name, DECIDESECONDS) show_menu(challenged, keys, menu, DECIDESECONDS, "JGHG's automatic knife duel") set_task(float(DECIDESECONDS), "timed_toolate", TASKID_CHALLENGING)}