Anyway, so far i got this
Code: Select all
:i function $create_chok_menu$
:i call $make_new_roundbar_menu$ arguments
$title$ = %s(12,"CHOK Menu")$pad_back_script$ = $generic_menu_pad_back$$pad_back_params$ = :s{$callback$ = $create_pause_menu$:s}
:i $add_roundbar_menu_item$:s{$text$ = %s(14,"START OBSERVE")$pad_choose_script$ = $EnterObserveMode$
:i :s}
:i $add_roundbar_menu_item$:s{$text$ = %s(13,"QUIT OBSERVE")$pad_choose_script$ = $ExitObserveMode$
:i :s}
:i $add_roundbar_menu_item$:s{$text$ = %s(6,"cancel")$pad_choose_script$ = $exit_pause_menu$
:i :s}
:i $roundbar_menu_finish$
:i endfunction
and i found the "real" observe function were u leave the game
Code: Select all
:i function $chose_observe$
:i if call $ObjectExists$ arguments
$id$ = $current_menu_anchor$
:i call $DestroyScreenElement$ arguments
$id$ = $current_menu_anchor$
:i endif
:i endfunction
But that is not usefull for me lol.
I would appreciate if anyone who knows about this could help me thanks