Hey,
How to write number from 0 to 999999 without string error?
When i open REC.ini, I see this:
[997]
TICK=1
[998]
TICK=1
[999]
TICK=1
[1000 ¥Œ–B„] // WTF?
TICK=1
[1001¥Œ–B„] // WTF?
TICK=1
[1002 ] // WTF?
TICK=1
[0] to [999] Works. If bigger>than 999 = bugged chars.
Howto fix this?
PHP:
call @numbers_to_text 2 2@ 2 return: 12@
:numbers_to_text
var
0@: int
1@: int
4@: int
5@: int
end
0AC8: 4@ = 1@
5@ = 1@
0C0D: struct 4@ offset 5@ size 1 = 0
5@--
1@--
for 3@ = 0 to 1@
0B14: 2@ = 0@ MOD 10
0@ /= 10
2@ += 0x30
0C0D: struct 4@ offset 5@ size 1 = 2@
5@--
end
ret 1 4@
i am noob :(