Code: Select all
:i function $create_zure_menu$
:i doIf call $ObjectExists$ arguments
$id$ = $current_menu_anchor$
:i call $DestroyScreenElement$ arguments
$id$ = $current_menu_anchor$
:i endif
:i call $pause_menu_gradient$ arguments
$off$
:i $make_new_menu$:s{
:i $menu_id$ = $zure_menu$
:i $vmenu_id$ = $zure_vmenu$
:i $menu_title$ = %s(16,"THUG1.1 MOD MENU")
:i $type$ = $VScrollingMenu$
:i $dims$ = %vec2(200.000000,350.000000)
:i $padding_scale$ = %f(0.950000)
:i $pos$ = %vec2(243.000000,50.000000)
:i :s}
:i $SetScreenElementProps$:s{$id$ = $zure_menu$
:i $event_handlers$ = :a{
:i :s{call $pad_back$ arguments
$generic_menu_pad_back$$params$ = :s{$callback$ = $create_pause_menu$:s}:s}
:i :a}
:i :s}
:i $set_theme_icons$
:i call $make_text_sub_menu_item$ arguments
$text$ = %s(10,"Debug Menu")$id$ = $debug_menu$$pad_choose_script$ = $create_debug_menu$
:i call $make_text_sub_menu_item$ arguments
$text$ = %s(4,"Done")$id$ = $menu_done$$pad_choose_script$ = $create_pause_menu$
:i call $RunScriptOnScreenElement$ arguments
$id$ = $current_menu_anchor$$animate_in$$params$ = :s{$final_pos$ = %vec2(320.000000,134.000000):s}
:i endfunction
this is the code for my menu, I don't see why it won't work for THUG1
EDIT:I fixed this, quazz pointed out the issues with this menu on another site, now it works