KamikazeSripterul
Well-known member
- Joined
- Jun 30, 2019
- Messages
- 353
- Reaction score
- 23
So I've tried to make a textbox once the whole script has been running but when i test it in game, nothing happens.
Can anyone help? Thanks
Code:
alloc 2@ 260
0B75: samp get_chat_string 99 text_to 2@ prefix_to 3@ color_to 4@ prefix_color_to 5@
if or
4@ == 0xffffd700
4@ == 0xff4dad2b
then
if
0C29: $not_used = strstr string1 2@ string2 "Your account balance is now"
then
0AB1: @GetText 1 WriteStringPointer 2@ rnt 15@
0AF5: write_string 15@ to_ini_file "cleo\ServerCMD.ini" section "Bank" key "balance"
0ACE: show_formatted_text_box "There was a change at your bank account balance! Use /bankmenu in order to see new changes." -1
wait 5000
end
end
free 2@