Hello and do not be tired.
1. If anyone would like to teach me this script of the cleo about textdraws, please introduce me to the basics. Or tell me if you see a suitable place to learn this code.
2. I want to create a binder that receives something from the .ini file via a command and sends it to the ingame + In addition, instead of changing the text in the .ini file every time(menual), we do not have to manually change it, EX: /changetext Hello -> chatmsg "{FFFFFF}Hello text has been saved in .ini file" -1
{$CLEO}
0662: "made by djc"
thread "0.1"
wait 2500
0B34: samp register_client_command "text" to_label @cmd_0
0B34: samp register_client_command "changetext" to_label @SetSentence
:cmd_39
wait 0
jump @cmd_39
:cmd_0
0AC8: 19@ = allocate_memory_size 260
0AF4: 19@ = read_string_from_ini_file "CLEO\Shortcuts.ini" section "Shortcuts" key "chat"
0AF9: samp say_msg 19@
free 19@
cmdret
:SetSentence
SAMP.IsCommandTyped(2@)
0AD4: 4@ = scan_string 2@ format "%x" 1@
0AF1: write_int 1@ to_ini_file "CLEO\Shortcuts.ini" section "Shortcuts" key "chat"
chatmsg "{FFFFFF}Sentence has been saved.: {FF0000}%x" 1000 1@
cmdret