- libAML.so (https://github.com/RusJJ/AndroidModLoader)
- libCLEOMod.so (https://github.com/AndroidModLoader/GTA_CLEOMod)
- libSAUtils.so (optional) (https://github.com/AndroidModLoader/SAUtils)
- Download the MenuVSL-0.0.0.zip file in Releases
- Copy the folder 'com.rockstargames.gtasa' and paste it in your /data/ folder (ex Android/data)
- Open the cleo menu, and select the TestMenuVSL.csi
-
Open your Sanny Builder folder, go to 'data\sa_mobile\SASCM.ini'
-
Add this text to the end of the file:
; MenuVSL
0FE0=4,%4d% = menu_vsl_add_window title %1g% x %2d% y %3d%
0FE1=3,%3d% = menu_vsl_test %1d% %2g%
0FE2=3,%3d% = menu_vsl_add_text window %1d% text %2g%
0FE3=3,%3d% = menu_vsl_add_button window %1d% text %2g%
0FE4=1,menu_vsl_is_button_just_pressed %1d%
0FE5=1,menu_vsl_remove_window %1d%
0FE6=7,%7d% = menu_vsl_add_int_range window %1d% text %2g% value %3d% min %4d% max %5d% add_by %6d%
0FE7=7,%7d% = menu_vsl_add_float_range window %1d% text %2g% value %3d% min %4d% max %5d% add_by %6d%
0FE8=2,%2g% = menu_vsl_get_int_value item %1d%
0FE9=2,%2g% = menu_vsl_get_float_value item %1d%
0FEA=2,menu_vsl_set_hold_to_change item %1d% value %2d%
0FEB=1,menu_vsl_set_debug_visible %1d%
0FEC=2,menu_vsl_add_debug_int %1g% %2d%
0FED=2,menu_vsl_add_debug_float %1g% %2d%
0FEE=4,%4d% = menu_vsl_add_checkbox window %1d% text %2g% value %3d%
0FEF=5,menu_vsl_set_window_background window %1d% r %2d% g %3d% b %4d% a %5d%
-
Create a CLEO Script for GTA SA Android
-
Create a window using the 0FE0 opcode:
0FE0: $Window1 = menu_vsl_add_window title "Nice window" x 450 y 200
- Create a button using the 0FE3 opcode:
0FE3: $Button1 = menu_vsl_add_button window $Window1 text "~w~> ~r~Close"
- Now you can compile and test it
More examples here: cleo
You can ask me on Discord if you need