How can I write more than 16 bytes of text?
:cmd
0B35: samp 0@ = get_last_command_params
if
0AD4: 0@ = scan_string 0@ format "18+49 %s" 6@v
then
0AF1: write_int 18 to_ini_file "cleo\config.ini" section "Settings" key "intkey1"
0AF1: write_int 49 to_ini_file "cleo\config.ini" section "Settings" key "intkey2"
0AF5: write_string 6@v to_ini_file "cleo\config.ini" section "Settings" key "Text"
end
0B43: samp cmd_ret
with the local variable @v I can only write in the configuration file 16 bytes, how do I write more than that?
try with 6@ but the result would be crash
@springfield
@Opcode.eXe
:cmd
0B35: samp 0@ = get_last_command_params
if
0AD4: 0@ = scan_string 0@ format "18+49 %s" 6@v
then
0AF1: write_int 18 to_ini_file "cleo\config.ini" section "Settings" key "intkey1"
0AF1: write_int 49 to_ini_file "cleo\config.ini" section "Settings" key "intkey2"
0AF5: write_string 6@v to_ini_file "cleo\config.ini" section "Settings" key "Text"
end
0B43: samp cmd_ret
with the local variable @v I can only write in the configuration file 16 bytes, how do I write more than that?
try with 6@ but the result would be crash
@springfield
@Opcode.eXe