Skip to content

Danilo1301/GTASA_libMenuVSL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MenuVSL

Required

How to install

  1. Download the MenuVSL-0.0.0.zip file in Releases
  2. Copy the folder 'com.rockstargames.gtasa' and paste it in your /data/ folder (ex Android/data)

How to test

  1. Open the cleo menu, and select the TestMenuVSL.csi

How to use

Using CLEO opcodes:

  1. Open your Sanny Builder folder, go to 'data\sa_mobile\SASCM.ini'

  2. 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%
  1. Create a CLEO Script for GTA SA Android

  2. Create a window using the 0FE0 opcode:

0FE0: $Window1 = menu_vsl_add_window title "Nice window" x 450 y 200
  1. Create a button using the 0FE3 opcode:
0FE3: $Button1 = menu_vsl_add_button window $Window1 text "~w~> ~r~Close"
  1. Now you can compile and test it

More examples here: cleo

Using C++

You can ask me on Discord if you need

Discord

About

Menu for CLEO modders and AML plugins

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages