KamikazeSripterul
Well-known member
- Joined
- Jun 30, 2019
- Messages
- 353
- Reaction score
- 23
Hello again. I've tried to make this fancy way of writing a string into a .ini file instead of just making a boring command however it doesnt work very well.
Can anyone help please?
Code:
0B34: "acommand" @acommand
WHILE TRUE
WAIT 0
IF SAMP.DialogRespond(1000, 2@, 0, 3@)
THEN
IF 2@ == 0
THEN
0AF5: write_string 3@ to_ini_file "cleo\AutoClicker.ini" section "AutoClicker" key "acommand"
END
END
END
:acommand
SAMP.IsCommandTyped(20@)
0C11: memset destination 3@ value 0 size 50
SAMP.ShowDialog(1000, "{ffff00}[AutoClicker]:", "{dba81d}Please enter your desired command below:", "Enter", "Close", 1)
SAMP.CmdRet()
Can anyone help please?