OldSchoolHack

Registrieren / Anmelden Deutsch

Dire Origin Base


icon Dire Origin Base #1

Anmeldungsdatum: Aug 2007

Beiträge: 1959

Kategorie: Sourcecode
Entwickler: Dire

Beschreibung:
CPP Code:
  1. //Adding a new submenu
  2. Menu::MenuOption("Test Menu", "test_menu");
  3.  
  4. if (Menu::currentMenu("test_menu")) {
  5. // your menu contents
  6. }
  7.  
  8. //Adding an option
  9. if (Menu::Option("Example Option")) {
  10. // run option code here
  11. }
  12.  
  13. //Adding a bool option
  14. Menu::BoolOption("Example Bool Option", &testBool);
  15.  
  16. // if you want it to run code at same time of toggle
  17. if (Menu::BoolOption("Example Bool Option", &testBool)) {
  18. // run code here
  19. }

Screenshots:
/hackdata/screenshot/thumb/1365accbfef1c9bc258b76a4b3a9ebb9.jpg

Download:
Dire Origin Base

icon #2

Anmeldungsdatum: Nov 2016

Beiträge: 2

is it safe?