KamikazeSripterul
Well-known member
- Joined
- Jun 30, 2019
- Messages
- 353
- Reaction score
- 23
So in .ini file I put the value $2.500.512 and i made a dialog in which it would show the value. Here's the code
Obviously, this is not the whole code, but it's the part which doesn't work properly.
Code:
if and
20@ == 1
21@ == 2
then
0AC8: 29@ = allocate_memory_size 75
0AF4: 29@ = read_string_from_ini_file "cleo\ServerCMD.ini" section "Bank" key "balance"
0AD3: 5@ = format "Your balance is: %s" 29@
SAMP.ShowDialog(820, "{000089}[{770089}Bank Manager{000089}]:", 5@, "Back", "Exit", 0)
free 29@
end